Spring boot version upgrade from 1.4.5.RELEASE to 2.0.7.RELEASE

Multi tool use
I'm trying to upgrade my springboot version from 1.4.5 to 2.0.7. I have updated the spring-boot-starter-parent, and its cloud dependency to spring-cloud-starter-netflix-hystrix. Also spring cloud version to Finchley.SR2.
pom.xml:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-
8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<springfox-version>2.5.0</springfox-version>
<spring-cloud.version>Finchley.SR2</spring-cloud.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.7.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-webmvc</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-config-
client</artifactId>
<version>2.0.3.RELEASE</version>
<type>pom</type>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
I'm getting error at starting tomcat context. Following are my logs from the console.
Loading class
com.mysql.jdbc.Driver'. This is deprecated. The new
com.mysql.cj.jdbc.Driver'. The driver is
driver class is
automatically registered via the SPI and manual loading of the driver
class is generally unnecessary. 2019-01-02 16:42:59.780 INFO 14180
--- [ost-startStop-1] jdbc.audit : null. DataSource.unwrap(class com.zaxxer.hikari.HikariDataSource) returned
2019-01-02 16:42:59.855 ERROR 14180 --- [ost-startStop-1]
o.s.b.web.embedded.tomcat.TomcatStarter : /Error starting Tomcat
context. Exception:
org.springframework.beans.factory.BeanCreationException. Message:
Error creating bean with name 'servletEndpointRegistrar' defined in
class path resource/
[org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]:
Factory method 'servletEndpointRegistrar' threw exception; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'healthEndpoint' defined in class path
resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.springframework.boot.actuate.health.HealthEndpoint]:
Factory method 'healthEndpoint' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration':
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$4d404129]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Post-processing of FactoryBean's
singleton object failed; nested exception is
java.lang.ClassCastException:
net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy cannot be cast to
com.zaxxer.hikari.HikariConfig 2019-01-02 16:43:00.016 INFO 14180 ---
[ main] o.apache.catalina.core.StandardService : Stopping
service [Tomcat]
java spring spring-boot
add a comment |
I'm trying to upgrade my springboot version from 1.4.5 to 2.0.7. I have updated the spring-boot-starter-parent, and its cloud dependency to spring-cloud-starter-netflix-hystrix. Also spring cloud version to Finchley.SR2.
pom.xml:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-
8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<springfox-version>2.5.0</springfox-version>
<spring-cloud.version>Finchley.SR2</spring-cloud.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.7.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-webmvc</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-config-
client</artifactId>
<version>2.0.3.RELEASE</version>
<type>pom</type>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
I'm getting error at starting tomcat context. Following are my logs from the console.
Loading class
com.mysql.jdbc.Driver'. This is deprecated. The new
com.mysql.cj.jdbc.Driver'. The driver is
driver class is
automatically registered via the SPI and manual loading of the driver
class is generally unnecessary. 2019-01-02 16:42:59.780 INFO 14180
--- [ost-startStop-1] jdbc.audit : null. DataSource.unwrap(class com.zaxxer.hikari.HikariDataSource) returned
2019-01-02 16:42:59.855 ERROR 14180 --- [ost-startStop-1]
o.s.b.web.embedded.tomcat.TomcatStarter : /Error starting Tomcat
context. Exception:
org.springframework.beans.factory.BeanCreationException. Message:
Error creating bean with name 'servletEndpointRegistrar' defined in
class path resource/
[org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]:
Factory method 'servletEndpointRegistrar' threw exception; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'healthEndpoint' defined in class path
resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.springframework.boot.actuate.health.HealthEndpoint]:
Factory method 'healthEndpoint' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration':
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$4d404129]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Post-processing of FactoryBean's
singleton object failed; nested exception is
java.lang.ClassCastException:
net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy cannot be cast to
com.zaxxer.hikari.HikariConfig 2019-01-02 16:43:00.016 INFO 14180 ---
[ main] o.apache.catalina.core.StandardService : Stopping
service [Tomcat]
java spring spring-boot
Update your question with code snippet and pom.xml
– Govind Parashar
Jan 2 at 11:41
Yes added the parts of pom.xml, where I made changes
– Vinod Singh
Jan 2 at 12:04
Please add application.properties or config file, because if you are adding any dependency, you need to provide some of the mandatory configurations.
– dkb
Jan 2 at 12:23
I have not added any changes in my application.properties file. I have done a few changes(removed deprecated code)
– Vinod Singh
Jan 2 at 12:52
Try 'org.springframework.boot:spring-boot-starter-data-rest' instead of spring-data-rest-webmvc. It seems spring-data-rest-webmvc's verson should be 3.0.12.RELEASE to work with spring-boot 2.0.7
– a.l.
Jan 2 at 13:15
add a comment |
I'm trying to upgrade my springboot version from 1.4.5 to 2.0.7. I have updated the spring-boot-starter-parent, and its cloud dependency to spring-cloud-starter-netflix-hystrix. Also spring cloud version to Finchley.SR2.
pom.xml:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-
8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<springfox-version>2.5.0</springfox-version>
<spring-cloud.version>Finchley.SR2</spring-cloud.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.7.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-webmvc</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-config-
client</artifactId>
<version>2.0.3.RELEASE</version>
<type>pom</type>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
I'm getting error at starting tomcat context. Following are my logs from the console.
Loading class
com.mysql.jdbc.Driver'. This is deprecated. The new
com.mysql.cj.jdbc.Driver'. The driver is
driver class is
automatically registered via the SPI and manual loading of the driver
class is generally unnecessary. 2019-01-02 16:42:59.780 INFO 14180
--- [ost-startStop-1] jdbc.audit : null. DataSource.unwrap(class com.zaxxer.hikari.HikariDataSource) returned
2019-01-02 16:42:59.855 ERROR 14180 --- [ost-startStop-1]
o.s.b.web.embedded.tomcat.TomcatStarter : /Error starting Tomcat
context. Exception:
org.springframework.beans.factory.BeanCreationException. Message:
Error creating bean with name 'servletEndpointRegistrar' defined in
class path resource/
[org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]:
Factory method 'servletEndpointRegistrar' threw exception; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'healthEndpoint' defined in class path
resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.springframework.boot.actuate.health.HealthEndpoint]:
Factory method 'healthEndpoint' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration':
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$4d404129]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Post-processing of FactoryBean's
singleton object failed; nested exception is
java.lang.ClassCastException:
net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy cannot be cast to
com.zaxxer.hikari.HikariConfig 2019-01-02 16:43:00.016 INFO 14180 ---
[ main] o.apache.catalina.core.StandardService : Stopping
service [Tomcat]
java spring spring-boot
I'm trying to upgrade my springboot version from 1.4.5 to 2.0.7. I have updated the spring-boot-starter-parent, and its cloud dependency to spring-cloud-starter-netflix-hystrix. Also spring cloud version to Finchley.SR2.
pom.xml:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-
8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<springfox-version>2.5.0</springfox-version>
<spring-cloud.version>Finchley.SR2</spring-cloud.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.7.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-webmvc</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-config-
client</artifactId>
<version>2.0.3.RELEASE</version>
<type>pom</type>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
I'm getting error at starting tomcat context. Following are my logs from the console.
Loading class
com.mysql.jdbc.Driver'. This is deprecated. The new
com.mysql.cj.jdbc.Driver'. The driver is
driver class is
automatically registered via the SPI and manual loading of the driver
class is generally unnecessary. 2019-01-02 16:42:59.780 INFO 14180
--- [ost-startStop-1] jdbc.audit : null. DataSource.unwrap(class com.zaxxer.hikari.HikariDataSource) returned
2019-01-02 16:42:59.855 ERROR 14180 --- [ost-startStop-1]
o.s.b.web.embedded.tomcat.TomcatStarter : /Error starting Tomcat
context. Exception:
org.springframework.beans.factory.BeanCreationException. Message:
Error creating bean with name 'servletEndpointRegistrar' defined in
class path resource/
[org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]:
Factory method 'servletEndpointRegistrar' threw exception; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'healthEndpoint' defined in class path
resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.springframework.boot.actuate.health.HealthEndpoint]:
Factory method 'healthEndpoint' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration':
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$4d404129]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Post-processing of FactoryBean's
singleton object failed; nested exception is
java.lang.ClassCastException:
net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy cannot be cast to
com.zaxxer.hikari.HikariConfig 2019-01-02 16:43:00.016 INFO 14180 ---
[ main] o.apache.catalina.core.StandardService : Stopping
service [Tomcat]
java spring spring-boot
java spring spring-boot
edited Jan 2 at 12:45


xoned
1,70021937
1,70021937
asked Jan 2 at 11:34
Vinod SinghVinod Singh
1024
1024
Update your question with code snippet and pom.xml
– Govind Parashar
Jan 2 at 11:41
Yes added the parts of pom.xml, where I made changes
– Vinod Singh
Jan 2 at 12:04
Please add application.properties or config file, because if you are adding any dependency, you need to provide some of the mandatory configurations.
– dkb
Jan 2 at 12:23
I have not added any changes in my application.properties file. I have done a few changes(removed deprecated code)
– Vinod Singh
Jan 2 at 12:52
Try 'org.springframework.boot:spring-boot-starter-data-rest' instead of spring-data-rest-webmvc. It seems spring-data-rest-webmvc's verson should be 3.0.12.RELEASE to work with spring-boot 2.0.7
– a.l.
Jan 2 at 13:15
add a comment |
Update your question with code snippet and pom.xml
– Govind Parashar
Jan 2 at 11:41
Yes added the parts of pom.xml, where I made changes
– Vinod Singh
Jan 2 at 12:04
Please add application.properties or config file, because if you are adding any dependency, you need to provide some of the mandatory configurations.
– dkb
Jan 2 at 12:23
I have not added any changes in my application.properties file. I have done a few changes(removed deprecated code)
– Vinod Singh
Jan 2 at 12:52
Try 'org.springframework.boot:spring-boot-starter-data-rest' instead of spring-data-rest-webmvc. It seems spring-data-rest-webmvc's verson should be 3.0.12.RELEASE to work with spring-boot 2.0.7
– a.l.
Jan 2 at 13:15
Update your question with code snippet and pom.xml
– Govind Parashar
Jan 2 at 11:41
Update your question with code snippet and pom.xml
– Govind Parashar
Jan 2 at 11:41
Yes added the parts of pom.xml, where I made changes
– Vinod Singh
Jan 2 at 12:04
Yes added the parts of pom.xml, where I made changes
– Vinod Singh
Jan 2 at 12:04
Please add application.properties or config file, because if you are adding any dependency, you need to provide some of the mandatory configurations.
– dkb
Jan 2 at 12:23
Please add application.properties or config file, because if you are adding any dependency, you need to provide some of the mandatory configurations.
– dkb
Jan 2 at 12:23
I have not added any changes in my application.properties file. I have done a few changes(removed deprecated code)
– Vinod Singh
Jan 2 at 12:52
I have not added any changes in my application.properties file. I have done a few changes(removed deprecated code)
– Vinod Singh
Jan 2 at 12:52
Try 'org.springframework.boot:spring-boot-starter-data-rest' instead of spring-data-rest-webmvc. It seems spring-data-rest-webmvc's verson should be 3.0.12.RELEASE to work with spring-boot 2.0.7
– a.l.
Jan 2 at 13:15
Try 'org.springframework.boot:spring-boot-starter-data-rest' instead of spring-data-rest-webmvc. It seems spring-data-rest-webmvc's verson should be 3.0.12.RELEASE to work with spring-boot 2.0.7
– a.l.
Jan 2 at 13:15
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54005608%2fspring-boot-version-upgrade-from-1-4-5-release-to-2-0-7-release%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54005608%2fspring-boot-version-upgrade-from-1-4-5-release-to-2-0-7-release%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
7tUWaMRyI4ItSnRvW0e,xM,dpo4romk rsxoY3kSRbdroWKbMJwxQ,zb9Cbbzv68NzzRDN3
Update your question with code snippet and pom.xml
– Govind Parashar
Jan 2 at 11:41
Yes added the parts of pom.xml, where I made changes
– Vinod Singh
Jan 2 at 12:04
Please add application.properties or config file, because if you are adding any dependency, you need to provide some of the mandatory configurations.
– dkb
Jan 2 at 12:23
I have not added any changes in my application.properties file. I have done a few changes(removed deprecated code)
– Vinod Singh
Jan 2 at 12:52
Try 'org.springframework.boot:spring-boot-starter-data-rest' instead of spring-data-rest-webmvc. It seems spring-data-rest-webmvc's verson should be 3.0.12.RELEASE to work with spring-boot 2.0.7
– a.l.
Jan 2 at 13:15