Closed gsbindhani closed 6 years ago
I had the same problem i changed the SpringBootVersion in build.gradle as follows:
springBootVersion = '1.5.8.RELEASE'
then
gradle clean
gradle bootRun
I had same issue, but fixed in build.gradle:
//maven { url "http://repo.spring.io/libs-release" }
maven { url "http://repo.spring.io/plugins-release" }
This allows to preserve
springBootVersion = '2.0.0.M2'
Found same problem with 2.0.0.RELEASE Fixed in build.gradle:
dependencies {
// ... //
compile group: 'org.springframework.boot', name: 'spring-boot-starter-tomcat', version: '2.0.0.RELEASE'
// ... //
}
P.S.: Great thanks to @salmar for this repository.
Upgraded the sample to Spring Boot 2.0.0.RELEASE, spring-boot-starter-tomcat
is a transient dependency of spring-boot-starter-web
:compileJava FAILED
FAILURE: Build failed with an exception.