Description
When the jetty-10 demo webapps are deployed, there are errors logged, which are logged at INFO level:
INFO :oeja.AnnotationConfiguration:main: Error: for o.e.j.w.WebAppContext......
It's a bit obscure to work out what is happening, but I discovered that the following error is being thrown:
Caused by: java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Provider org.eclipse.jetty.websocket.javax.client.JavaxWebSocketShutdownContainer not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:588)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1211)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1220)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1264)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1299)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1384)
Activity
joakime commentedon Mar 2, 2021
This on
jetty-10.0.x
HEAD, or one of the releases?janbartel commentedon Mar 2, 2021
HEAD jetty-10.0.x
Issue #6024 - protect and expose the JavaxWebSocketShutdownContainer.
Merge pull request #6025 from eclipse/jetty-10.0.x-6024-JavaxShutdown…