Tomcat 9.0.30 dies with Javalin 3.7.0
See original GitHub issueTomcat dies with following exception:
Caused by: java.lang.IllegalStateException: Unable to find ServletContextHandler for provided ServletContext at org.eclipse.jetty.websocket.server.NativeWebSocketServletContainerInitializer.onStartup(NativeWebSocketServletContainerInitializer.java:120) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 27 more
I tried to exclude dependencies - I found a blog with this trick - but this exclusion triggers a class not found exception. Any idea to solve this problem.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Apache Tomcat 9 (9.0.70) - Changelog
63251: Implement a work-around for a known JRE bug (JDK-8194653) that may cause a dead-lock when Tomcat starts. (markt); Fix: ...
Read more >Apache Tomcat upgrade from 9.0.14 to 9.0.31 - Stack Overflow
I have a virtual machine with Ubuntu 18.04, Apache Tomcat 9.0.14 installed, and a web app developed with Java 8.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tipsy sure: https://github.com/tipsy/javalin-tomcat-embed-example/pull/2 . The docs PR: https://github.com/javalin/javalin.github.io/pull/61
I added a small section with a link to the tutorial in the docs: https://javalin.io/documentation#other-web-servers