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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -