org.glassfish.jersey.internal.ServiceConfigurationError: org.glassfish.jersey.server.spi.ComponentProvider: The class org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider implementing the provider interface org.glassfish.jersey.server.spi.ComponentProvider is not found. The provider implementation is ignored.

Stack Overflow | Astronaut | 5 months ago
  1. 0

    Jersey 2.x Web APP on WL 12.2.1 and 12.3.1

    Stack Overflow | 5 months ago | Astronaut
    org.glassfish.jersey.internal.ServiceConfigurationError: org.glassfish.jersey.server.spi.ComponentProvider: The class org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider implementing the provider interface org.glassfish.jersey.server.spi.ComponentProvider is not found. The provider implementation is ignored.
  2. 0

    spring boot run in java CLI has a strange error that java.io.FileNotFoundException

    Stack Overflow | 5 days ago | vincent ren
    org.glassfish.jersey.internal.ServiceConfigurationError: org.glassfish.jersey.internal.spi.AutoDiscoverable: : java.io.FileNotFoundException: JAR entry !/META-INF/services/org.glassfish.jersey.internal.spi.AutoDiscoverable not found in /tmp/jar_cache7985854176820315027.tmp

    Root Cause Analysis

    1. org.glassfish.jersey.internal.ServiceConfigurationError

      org.glassfish.jersey.server.spi.ComponentProvider: The class org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider implementing the provider interface org.glassfish.jersey.server.spi.ComponentProvider is not found. The provider implementation is ignored.

      at org.glassfish.jersey.internal.ServiceFinder.fail()
    2. Jersey Core
      ServiceFinder$LazyObjectIterator.hasNext
      1. org.glassfish.jersey.internal.ServiceFinder.fail(ServiceFinder.java:433)
      2. org.glassfish.jersey.internal.ServiceFinder.access$300(ServiceFinder.java:155)
      3. org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.handleClassNotFoundException(ServiceFinder.java:806)
      4. org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.hasNext(ServiceFinder.java:757)
      4 frames
    3. jersey-core-server
      ApplicationHandler$4.get
      1. org.glassfish.jersey.server.ApplicationHandler.getRankedComponentProviders(ApplicationHandler.java:743)
      2. org.glassfish.jersey.server.ApplicationHandler.access$600(ApplicationHandler.java:184)
      3. org.glassfish.jersey.server.ApplicationHandler$4.get(ApplicationHandler.java:406)
      4. org.glassfish.jersey.server.ApplicationHandler$4.get(ApplicationHandler.java:399)
      4 frames
    4. Jersey Core
      Values$LazyValueImpl.get
      1. org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:340)
      1 frame
    5. jersey-core-server
      ApplicationHandler.<init>
      1. org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:366)
      2. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342)
      2 frames
    6. jersey-container-servlet-core
      ServletContainer.init
      1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
      2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
      3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
      3 frames
    7. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
      1 frame
    8. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:343)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:294)
      2 frames
    9. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      1 frame
    10. weblogic.security.service
      SecurityManager.runAsForUserCode
      1. weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      1 frame
    11. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      2. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      2 frames
    12. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:99)
      2. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:93)
      3. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:69)
      4. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:57)
      5. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:36)
      6. weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:666)
      7. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:612)
      8. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2053)
      9. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:2030)
      10. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1919)
      11. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3063)
      12. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1830)
      13. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:875)
      13 frames
    13. weblogic.application.internal
      ExtensibleModuleWrapper$StartStateChange.next
      1. weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
      2. weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
      2 frames
    14. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      1 frame
    15. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
      2. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      3. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:237)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:232)
      4 frames
    16. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      1 frame
    17. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:82)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:753)
      3 frames
    18. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      1 frame
    19. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
      2. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:53)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      3 frames
    20. weblogic.deploy.internal
      BasicDeployment.activateFromServerLifecycle
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:265)
      3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:481)
      3 frames
    21. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:53)
      2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)
      3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:52)
      4. weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:592)
      5. weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:600)
      7. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:259)
      8. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:155)
      9. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:221)
      10. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:130)
      10 frames
    22. weblogic.server
      AbstractServerService.postConstruct
      1. weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
      1 frame
    23. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    24. HK2 Implementation Utilities
      ReflectionHelper.invoke
      1. org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
      1 frame
    25. ServiceLocator Default Implementation
      SystemDescriptor.create
      1. org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
      2. org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
      3. org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      3 frames
    26. Run Level Service
      RunLevelContext.findOrCreate
      1. org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      2. org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      2 frames
    27. ServiceLocator Default Implementation
      SystemDescriptor.create
      1. org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      2. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      3. org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
      4. org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
      5. org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
      6. org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
      7. org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
      8. org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      8 frames
    28. Run Level Service
      RunLevelContext.findOrCreate
      1. org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
      2. org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
      2 frames
    29. ServiceLocator Default Implementation
      ServiceHandleImpl.getService
      1. org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
      2. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      3. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      3 frames
    30. Run Level Service
      CurrentTaskFuture$QueueRunner.run
      1. org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
      2. org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
      2 frames
    31. weblogic.work
      SelfTuningWorkManagerImpl$WorkAdapterImpl.run
      1. weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
      1 frame
    32. weblogic.invocation
      ComponentInvocationContextManager.runAs
      1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      2 frames
    33. weblogic.work
      ExecuteThread.run
      1. weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      2. weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      3. weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      4. weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      5. weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      5 frames