Spring Boot App throws ApplicationReadyEvent cannot be cast to WebServerInitializedEvent -


i'm trying upgrade spring boot 1.4.x -> 2.0.0.m3 , encountering following error:

non-matching event type listener: org.springframework.boot.web.context.serverportinfoapplicationcontextinitializer

error: java.lang.classcastexception: org.springframework.context.event.contextrefreshedevent can not cast org.springframework.boot.web.context.webserverinitializedevent

i'm trying run application inside tomcat 8.5, using java8.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -