salmar / spring-websocket-chat

Chat application using Spring WebSockets
614 stars 316 forks source link

Not Found - org.springframework.boot:spring-boot-starter-tomcat:2.0.0.M2 #16

Closed gsbindhani closed 6 years ago

gsbindhani commented 6 years ago

:compileJava FAILED

FAILURE: Build failed with an exception.

protoxy commented 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

hri101 commented 6 years ago

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'

Abnormally commented 6 years ago

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.

salmar commented 6 years ago

Upgraded the sample to Spring Boot 2.0.0.RELEASE, spring-boot-starter-tomcat is a transient dependency of spring-boot-starter-web