RECENT ARTICLES
Singly Linked List Implementation in Java - JavaTute
Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailLinked list is a linear and non-indexed data structure. Arrays and List in java , stores the data in contiguous memory locations but linked list stores the data at random locations and link node to another node.Linked list optimize the memory allocation as compare to Arrays and List.If programmer creates an Array with fixed size, even Array is not fully filled , but it will hold the memory location.In case of linked list, wastage of memory locations are...…Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailLinked list is a linear and non-indexed data structure. Arrays and List in java , stores the data in contiguous memory locations but linked list stores the data at random locations and link node to another node.Linked list optimize the memory allocation as compare to Arrays and List.If programmer creates an Array with fixed size, even Array is not fully filled , but it will hold the memory location.In case of linked list, wastage of memory locations are...WW…
Failed to configure a DataSource url attribute is not specified and no embedded datasource could be configured - JavaTute
Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailIn this post, we will see how to fix Failed to configure a DataSource url attribute is not specified and no embedded datasource could be configured.We might get the below exception while running the spring boot application.Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classAction:Consider the following:If you want an embedded database (H2, HSQL...…Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailIn this post, we will see how to fix Failed to configure a DataSource url attribute is not specified and no embedded datasource could be configured.We might get the below exception while running the spring boot application.Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classAction:Consider the following:If you want an embedded database (H2, HSQL...WW…
@Component not working in Spring Boot - JavaTute
Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailThe @Component annotation is used in Spring Boot to mark a class as a Spring-managed component. If the annotation is not working in your Spring Boot application, there could be several reasons for this:Missing @ComponentScan annotation: Spring Boot uses component scanning to automatically discover and register beans in the application context. If the @ComponentScan annotation is missing or incorrectly configured in your application, Spring Boot will not be...…Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailThe @Component annotation is used in Spring Boot to mark a class as a Spring-managed component. If the annotation is not working in your Spring Boot application, there could be several reasons for this:Missing @ComponentScan annotation: Spring Boot uses component scanning to automatically discover and register beans in the application context. If the @ComponentScan annotation is missing or incorrectly configured in your application, Spring Boot will not be...WW…
Spring Boot @Value not working - JavaTute
Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailIn this post, we will see different possible reasons why we are not able to read the value from the properties file using @Value annotation in spring.Consider we have application.properties file in the resources folder and we want to read some properties using Spring @Value annotation. Generally we should able to read value without any trouble, but sometimes because of some code issue or configuration issue we are not read property using @Value.Let’s see a...…Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailIn this post, we will see different possible reasons why we are not able to read the value from the properties file using @Value annotation in spring.Consider we have application.properties file in the resources folder and we want to read some properties using Spring @Value annotation. Generally we should able to read value without any trouble, but sometimes because of some code issue or configuration issue we are not read property using @Value.Let’s see a...WW…
How to send post body using restTemplate as x-www-form-urlencoded - JavaTute
Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailIn this quick example, we will see how to send a post body in restTemplate as x-www-form-urlencoded with an example. Consider we have two parameters token and client_id that we want to send as post data as x-www-form-urlencoded. The token and client_id have some value as below.Let’s see an example to send post body using RestTemplate and x-www-form-urlencodedimport com.fasterxml.jackson.databind.JsonNode;import...…Sign inLog into your accountyour usernameyour passwordForgot your password?Privacy PolicyPassword recoveryRecover your passwordyour emailIn this quick example, we will see how to send a post body in restTemplate as x-www-form-urlencoded with an example. Consider we have two parameters token and client_id that we want to send as post data as x-www-form-urlencoded. The token and client_id have some value as below.Let’s see an example to send post body using RestTemplate and x-www-form-urlencodedimport com.fasterxml.jackson.databind.JsonNode;import...WW…
- Total 5 items
- 1