Skip to content

Instantly share code, notes, and snippets.

@moelholm
Created August 10, 2016 09:16
Show Gist options
  • Save moelholm/758cc97ee3b7b039768accc4019c92a8 to your computer and use it in GitHub Desktop.
Save moelholm/758cc97ee3b7b039768accc4019c92a8 to your computer and use it in GitHub Desktop.
Spring Boot Reactive Stacktrace
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.0.BUILD-SNAPSHOT)
2016-08-10 11:00:07.998 INFO 9613 --- [ main] com.moelholm.Application : Starting Application on HELLO with PID 9613...
2016-08-10 11:00:08.001 INFO 9613 --- [ main] com.moelholm.Application : No active profile set, falling back to default profiles: default
2016-08-10 11:00:08.048 INFO 9613 --- [ main] o.s.b.c.e.ReactiveWebApplicationContext : Refreshing org.springframework.boot.context.embedded.ReactiveWebApplicationContext@6cf0e0ba: startup date [Wed Aug 10 11:00:08 CEST 2016]; root of context hierarchy
2016-08-10 11:00:08.835 WARN 9613 --- [ main] o.s.b.c.e.ReactiveWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.springframework.http.server.reactive.ServletHttpHandlerAdapter: method <init>()V not found
2016-08-10 11:00:08.845 ERROR 9613 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.springframework.http.server.reactive.ServletHttpHandlerAdapter: method <init>()V not found
at org.springframework.boot.context.embedded.ReactiveWebApplicationContext.onRefresh(ReactiveWebApplicationContext.java:52) ~[spring-boot-autoconfigure-web-reactive-0.1.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535) ~[spring-context-5.0.0.BUILD-SNAPSHOT.jar:5.0.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:313) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174) [spring-boot-1.4.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at com.moelholm.Application.main(Application.java:10) [main/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:na]
Caused by: java.lang.NoSuchMethodError: org.springframework.http.server.reactive.ServletHttpHandlerAdapter: method <init>()V not found
at org.springframework.boot.context.embedded.TomcatEmbeddedReactiveHttpServer.afterPropertiesSet(TomcatEmbeddedReactiveHttpServer.java:46) ~[spring-boot-autoconfigure-web-reactive-0.1.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.context.embedded.TomcatEmbeddedHttpServerFactory.getReactiveHttpServer(TomcatEmbeddedHttpServerFactory.java:16) ~[spring-boot-autoconfigure-web-reactive-0.1.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.context.embedded.ReactiveWebApplicationContext.createReactiveHttpServer(ReactiveWebApplicationContext.java:74) ~[spring-boot-autoconfigure-web-reactive-0.1.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
at org.springframework.boot.context.embedded.ReactiveWebApplicationContext.onRefresh(ReactiveWebApplicationContext.java:49) ~[spring-boot-autoconfigure-web-reactive-0.1.0.BUILD-SNAPSHOT.jar:1.4.0.BUILD-SNAPSHOT]
... 12 common frames omitted
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment