java.lang.ClassCastException: Cannot cast org.glassfish.jersey.jackson.internal.JacksonAutoDiscoverable to org.glassfish.jersey.internal.spi.AutoDiscoverable

Google Groups | Luis Miguel Moya Moirón | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    WELD-000816 Cannot determine constructor to use for @WebListener WebLogic 12c

    Stack Overflow | 2 years ago | Ricardo Luna
    weblogic.application.ModuleException: java.lang.ClassCastException: Cannot cast org.glassfish.tyrus.gf.ejb.EjbComponentProvider to org.glassfish.tyrus.core.ComponentProvider
  2. 0

    soa-infra failed status

    Oracle Community | 5 years ago | Natrajan
    weblogic.application.ModuleException: ' weblogic.application.ModuleException:
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error deploying to WLS 12.1.2

    Oracle Community | 3 years ago | Seek78
    weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.UIXComponentELTag
  5. 0

    Caused By: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider

    Oracle Community | 2 years ago | user4788436
    weblogic.application.ModuleException: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    Cannot cast org.glassfish.jersey.jackson.internal.JacksonAutoDiscoverable to org.glassfish.jersey.internal.spi.AutoDiscoverable

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:3369)
    1 frame
  3. Jersey Core
    ServiceFinderBinder.configure
    1. org.glassfish.jersey.internal.ServiceFinder$LazyObjectIterator.hasNext(ServiceFinder.java:689)
    2. org.glassfish.jersey.internal.ServiceFinderBinder.configure(ServiceFinderBinder.java:91)
    2 frames
  4. HK2 API module
    AbstractBinder.install
    1. org.glassfish.hk2.utilities.binding.AbstractBinder.bind(AbstractBinder.java:171)
    2. org.glassfish.hk2.utilities.binding.AbstractBinder.install(AbstractBinder.java:315)
    2 frames
  5. jersey-core-server
    ServerBinder.configure
    1. org.glassfish.jersey.server.ServerBinder.configure(ServerBinder.java:123)
    1 frame
  6. HK2 API module
    AbstractBinder.bind
    1. org.glassfish.hk2.utilities.binding.AbstractBinder.bind(AbstractBinder.java:171)
    1 frame
  7. Jersey Core
    Injections.createLocator
    1. org.glassfish.jersey.internal.inject.Injections.bind(Injections.java:157)
    2. org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:147)
    3. org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:137)
    3 frames
  8. jersey-core-server
    ApplicationHandler.<init>
    1. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:271)
    1 frame
  9. jersey-container-servlet-core
    ServletContainer.init
    1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:283)
    2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:167)
    3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:349)
    3 frames
  10. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
    1 frame
  11. 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
  12. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
    1 frame
  13. weblogic.security.service
    SecurityManager.runAsForUserCode
    1. weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
    1 frame
  14. 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
  15. Atmosphere weblogic
    WebAppModule.start
    1. weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:99)
    2. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:87)
    3. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:71)
    4. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:57)
    5. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:31)
    6. weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:673)
    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
  16. 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
  17. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    1 frame
  18. 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
  19. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    1 frame
  20. 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
  21. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    1 frame
  22. 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
  23. weblogic.deploy.internal
    DeploymentServiceDispatcher.commit
    1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    2. weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:601)
    3. weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:171)
    4. weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121)
    5. weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121)
    6. weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:343)
    7. weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:895)
    8. weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1422)
    9. weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:454)
    10. weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:181)
    10 frames
  24. weblogic.deploy.service
    DeploymentReceiverCallbackDeliverer$2.run
    1. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    2. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    3. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    3 frames
  25. weblogic.work
    SelfTuningWorkManagerImpl$WorkAdapterImpl.run
    1. weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
    1 frame
  26. weblogic.invocation
    ComponentInvocationContextManager.runAs
    1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
    2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
    2 frames
  27. 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