You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the distro in jetty-10.0.x, the servletcontainer initializer for javax websocket fails with this message:
Error: javax.servlet.ServletContainerInitializer: org.eclipse.jetty.websocket.javax.server.JavaxWebSocketServletContainerInitializer Unable to get public no-arg constructor
Turning on debug for org.eclipse.jetty.annotations yields these underlying errors:
2019-07-01 16:16:24.233:DBUG:oeja.AnnotationConfiguration:main:
java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: org.eclipse.jetty.websocket.javax.server.JavaxWebSocketServletContainerInitializer Unable to get public no-arg constructor
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:581)
at java.base/java.util.ServiceLoader.getConstructor(ServiceLoader.java:672)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1232)
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)
at org.eclipse.jetty.annotations.AnnotationConfiguration.getNonExcludedInitializers(AnnotationConfiguration.java:834)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:355)
at org.eclipse.jetty.webapp.Configurations.configure(Configurations.java:484)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:557)
and:
Caused by:
java.lang.NoClassDefFoundError: javax/websocket/DeploymentException
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3138)
at java.base/java.lang.Class.getConstructor0(Class.java:3343)
at java.base/java.lang.Class.getConstructor(Class.java:2152)
at java.base/java.util.ServiceLoader$1.run(ServiceLoader.java:659)
at java.base/java.util.ServiceLoader$1.run(ServiceLoader.java:656)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.ServiceLoader.getConstructor(ServiceLoader.java:667)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1232)
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)
at org.eclipse.jetty.annotations.AnnotationConfiguration.getNonExcludedInitializers(AnnotationConfiguration.java:834)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:355)
at org.eclipse.jetty.webapp.Configurations.configure(Configurations.java:484)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:557)
The text was updated successfully, but these errors were encountered:
When running the distro in jetty-10.0.x, the servletcontainer initializer for javax websocket fails with this message:
Turning on debug for org.eclipse.jetty.annotations yields these underlying errors:
and:
The text was updated successfully, but these errors were encountered: