java.lang.LinkageError: ClassCastException: attempting to castzip:/usr/vineetDir/em1.4M_install_JSF_NEW/core.war/WEB-INF/lib/javax.ws.rs-api-2.0-m10.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/software/wls12120/oracle_common/modules/jersey-core-1.17.1.jar!/javax/ws/rs/ext/RuntimeDelegate.class

nabble.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cxf-dev - Missing dependency for method public void org.apache.cxf ...

    nabble.com | 1 year ago
    java.lang.LinkageError: ClassCastException: attempting to castzip:/usr/vineetDir/em1.4M_install_JSF_NEW/core.war/WEB-INF/lib/javax.ws.rs-api-2.0-m10.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/software/wls12120/oracle_common/modules/jersey-core-1.17.1.jar!/javax/ws/rs/ext/RuntimeDelegate.class
  2. 0

    cxf-user - java.lang.LinkageError: ClassCastException: attempting to castzip:

    nabble.com | 7 months ago
    java.lang.LinkageError: ClassCastException: attempting to castzip:/usr/vineetDir/em1.4M_install_JSF_NEW/core.war/WEB-INF/lib/javax.ws.rs-api-2.0-m10.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/software/wls12120/oracle_common/modules/jersey-core-1.17.1.jar!/javax/ws/rs/ext/RuntimeDelegate.class

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.LinkageError

      ClassCastException: attempting to castzip:/usr/vineetDir/em1.4M_install_JSF_NEW/core.war/WEB-INF/lib/javax.ws.rs-api-2.0-m10.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/software/wls12120/oracle_common/modules/jersey-core-1.17.1.jar!/javax/ws/rs/ext/RuntimeDelegate.class

      at javax.ws.rs.ext.RuntimeDelegate.findDelegate()
    2. JavaEE 7
      EntityTag.<clinit>
      1. javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:116)
      2. javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
      3. javax.ws.rs.core.EntityTag.<clinit>(EntityTag.java:35)
      3 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:190)
      2 frames
    4. com.sun.proxy
      $Proxy238.<clinit>
      1. com.sun.proxy.$Proxy238.<clinit>(Unknown Source)
      1 frame
    5. Java RT
      Proxy.newProxyInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.reflect.Proxy.newInstance(Proxy.java:764)
      6. java.lang.reflect.Proxy.newProxyInstance(Proxy.java:755)
      6 frames
    6. Jersey
      WebApplicationFactory.createWebApplication
      1. com.sun.jersey.server.impl.application.WebApplicationImpl.createProxy(WebApplicationImpl.java:1592)
      2. com.sun.jersey.server.impl.application.WebApplicationImpl.<init>(WebApplicationImpl.java:320)
      3. com.sun.jersey.server.impl.container.WebApplicationProviderImpl.createWebApplication(WebApplicationProviderImpl.java:55)
      4. com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:66)
      4 frames
    7. Jersey
      ServletContainer.init
      1. com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:392)
      2. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:307)
      3. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:603)
      4. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)
      5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:374)
      6. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:557)
      6 frames
    8. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:240)
      1 frame
    9. weblogic.jaxrs.server
      ServletContainer.init
      1. weblogic.jaxrs.server.portable.servlet.ServletContainer.init(ServletContainer.java:120)
      1 frame
    10. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:337)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:288)
      2 frames
    11. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    12. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    13. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    14. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:98)
      2. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:86)
      3. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)
      4. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:60)
      5. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:34)
      6. weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:648)
      7. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:593)
      8. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1924)
      9. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1901)
      10. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1791)
      11. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
      12. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)
      13. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)
      13 frames
    15. 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
    16. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      1 frame
    17. 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:213)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      4 frames
    18. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      1 frame
    19. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
      3 frames
    20. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      1 frame
    21. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
      2. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      3 frames
    22. 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:586)
      3. weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
      4. weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
      5. weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:339)
      6. weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:846)
      7. weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1275)
      8. weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:442)
      9. weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:176)
      9 frames
    23. 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
    24. weblogic.work
      ExecuteThread.run
      1. weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
      2. weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      3. weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
      3 frames