Hello!
I am not sure but probably thats a bug?
I created a simple Maven-sample to reproduce.
It works as expected with OpenJDK 8.
I send an OPTIONS request and get back the response.
curl -i -X OPTIONS http://localhost:8088/test/test
If I switch to JDK 9 or 10 (setting <source> and <target> in the
compiler-plugin in pom.xml) it get an exception.
If would appreciate any information how to avoid or fix that.
Thanks in advance!
Christoph
Dez. 07, 2019 4:21:58 NACHM.
org.glassfish.grizzly.http.server.NetworkListener start
INFORMATION: Started listener bound to [localhost:8088]
Dez. 07, 2019 4:21:58 NACHM.
org.glassfish.grizzly.http.server.HttpServer start
INFORMATION: [HttpServer] Started.
Dez. 07, 2019 4:22:00 NACHM.
org.glassfish.jersey.logging.LoggingInterceptor log
INFORMATION: 1 * Server has received a request on thread
grizzly-http-server-0
1 > OPTIONS http://localhost:8088/test/test
1 > accept: */*
1 > host: localhost:8088
1 > user-agent: curl/7.64.0
Dez. 07, 2019 4:22:00 NACHM. org.glassfish.jersey.internal.Errors
logErrors
WARNUNG: The following warnings have been detected: WARNING: Unknown
HK2 failure detected:
MultiException stack 1 of 2
javax.ws.rs.ProcessingException: Error creating a JAXBContext for
wadl processing.
at
org.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:120)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at
org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1352)
at
org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:248)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:342)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at
org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:92)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:66)
at
org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.resolve(ContextInjectionResolverImpl.java:103)
at
org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
at
org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:211)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:59)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:754)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:717)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:687)
at
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getInstance(AbstractHk2InjectionManager.java:160)
at
org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getInstance(ImmediateHk2InjectionManager.java:30)
at
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:105)
at
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:260)
at
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:51)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:86)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:69)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:38)
at
org.glassfish.jersey.process.internal.Stages.process(Stages.java:173)
at
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:245)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
at
org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API
has not been found on module path or classpath.
- with linked exception:
[java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:131)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:318)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:478)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:435)
at
org.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:112)
... 55 more
Caused by: java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at
javax.xml.bind.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:92)
at
javax.xml.bind.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:125)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
... 59 more
MultiException stack 2 of 2
java.lang.IllegalStateException: Unable to perform operation: create
on org.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:369)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at
org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:92)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:66)
at
org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.resolve(ContextInjectionResolverImpl.java:103)
at
org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
at
org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:211)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:59)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:754)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:717)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:687)
at
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getInstance(AbstractHk2InjectionManager.java:160)
at
org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getInstance(ImmediateHk2InjectionManager.java:30)
at
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:105)
at
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:260)
at
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:51)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:86)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:69)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:38)
at
org.glassfish.jersey.process.internal.Stages.process(Stages.java:173)
at
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:245)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
at
org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:844)
WARNING: Unknown HK2 failure detected:
MultiException stack 1 of 4
javax.ws.rs.ProcessingException: Error creating a JAXBContext for
wadl processing.
at
org.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:120)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at
org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1352)
at
org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:248)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:342)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at
org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:92)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:66)
at
org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.resolve(ContextInjectionResolverImpl.java:103)
at
org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
at
org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:211)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:59)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:754)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:717)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:687)
at
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getInstance(AbstractHk2InjectionManager.java:160)
at
org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getInstance(ImmediateHk2InjectionManager.java:30)
at
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:105)
at
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:260)
at
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:51)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:86)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:69)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:38)
at
org.glassfish.jersey.process.internal.Stages.process(Stages.java:173)
at
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:245)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
at
org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API
has not been found on module path or classpath.
- with linked exception:
[java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:131)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:318)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:478)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:435)
at
org.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:112)
... 55 more
Caused by: java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at
javax.xml.bind.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:92)
at
javax.xml.bind.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:125)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
... 59 more
MultiException stack 2 of 4
java.lang.IllegalStateException: Unable to perform operation: create
on org.glassfish.jersey.server.wadl.internal.WadlApplicationContextImpl
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:369)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at
org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at
org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:92)
at
org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:66)
at
org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.resolve(ContextInjectionResolverImpl.java:103)
at
org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
at
org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:211)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:59)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:754)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:717)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:687)
at
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getInstance(AbstractHk2InjectionManager.java:160)
at
org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getInstance(ImmediateHk2InjectionManager.java:30)
at
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:105)
at
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:260)
at
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:51)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:86)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:69)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:38)
at
org.glassfish.jersey.process.internal.Stages.process(Stages.java:173)
at
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:245)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
at
org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:844)
MultiException stack 3 of 4
java.lang.IllegalArgumentException: While attempting to resolve the
dependencies of
org.glassfish.jersey.server.wadl.processor.WadlModelProcessor$OptionsHandler
errors were found
at
org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:224)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:59)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:754)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:717)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:687)
at
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getInstance(AbstractHk2InjectionManager.java:160)
at
org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getInstance(ImmediateHk2InjectionManager.java:30)
at
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:105)
at
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:260)
at
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:51)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:86)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:69)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:38)
at
org.glassfish.jersey.process.internal.Stages.process(Stages.java:173)
at
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:245)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
at
org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:844)
MultiException stack 4 of 4
java.lang.IllegalStateException: Unable to perform operation: resolve
on
org.glassfish.jersey.server.wadl.processor.WadlModelProcessor$OptionsHandler
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:363)
at
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at
org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:59)
at
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:754)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:717)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:687)
at
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getInstance(AbstractHk2InjectionManager.java:160)
at
org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getInstance(ImmediateHk2InjectionManager.java:30)
at
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:105)
at
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:260)
at
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:51)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:86)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:89)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:69)
at
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:38)
at
org.glassfish.jersey.process.internal.Stages.process(Stages.java:173)
at
org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:245)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
at
org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:844)
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jersey-dev