Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 1 year ago
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
via nabble.com by Unknown author, 2 years ago
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
via Stack Overflow by cxco
, 2 years ago
ClassCastException: attempting to castjar:file:/mnt/hadoop/yarn/local/filecache/18/spark-assembly-1.6.0-hadoop2.6.0.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/mnt/hadoop/yarn/local/filecache/18/spark-assembly-1.6.0-hadoop2.6.0.jar!/javax/ws/rs/ext/RuntimeDelegate.class
via Stack Overflow by shashank kulkarni
, 1 year ago
ClassCastException: attempting to castjar:file:/usr/local/spark/lib/spark-assembly-1.6.1-hadoop2.6.0.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/usr/local/spark/lib/spark-assembly-1.6.1-hadoop2.6.0.jar!/javax/ws/rs/ext/RuntimeDelegate.class
via Stack Overflow by hbabbar
, 1 year ago
ClassCastException: attempting to castjar:file:/usr/hdp/2.4.2.0-258/spark/lib/spark-assembly-1.6.1.2.4.2.0-258-hadoop2.7.1.2.4.2.0-258.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/usr/hdp/2.4.2.0-258/spark/lib/spark-assembly-1.6.1.2.4.2.0-258-hadoop2.7.1.2.4.2.0-258.jar!/javax/ws/rs/ext/RuntimeDelegate.class
via Oracle Community by RaphaelH, 1 year ago
ClassCastException: attempting to castjar:file:/C:/Oracle/Middleware/Oracle_Home/oracle_common/modules/jersey-core-1.18.jar!/javax/ws/rs/ext/RuntimeDelegate.class to zip:C:/Oracle/Middleware/Oracle_Home/user_projects/domains/adf_domain/servers/AdminServer/tmp/_WL_user/jax-rs/2roe7j/WEB-INF/lib/javax.ws.rs-api-2.0.jar!/javax/ws/rs/ext/RuntimeDelegate.class
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(RuntimeDelegate.java:116)	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)	at javax.ws.rs.core.EntityTag.(EntityTag.java:35)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:190)	at com.sun.proxy.$Proxy238.(Unknown Source)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)	at java.lang.reflect.Proxy.newInstance(Proxy.java:764)	at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:755)	at com.sun.jersey.server.impl.application.WebApplicationImpl.createProxy(WebApplicationImpl.java:1592)	at com.sun.jersey.server.impl.application.WebApplicationImpl.(WebApplicationImpl.java:320)	at com.sun.jersey.server.impl.container.WebApplicationProviderImpl.createWebApplication(WebApplicationProviderImpl.java:55)	at com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:66)	at com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:392)	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:307)	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:603)	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:374)	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:557)	at javax.servlet.GenericServlet.init(GenericServlet.java:240)	at weblogic.jaxrs.server.portable.servlet.ServletContainer.init(ServletContainer.java:120)	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:337)	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:288)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)	at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:98)	at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:86)	at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)	at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:60)	at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:34)	at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:648)	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:593)	at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1924)	at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1901)	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1791)	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)	at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)	at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)	at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)	at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:586)	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:339)	at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:846)	at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1275)	at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:442)	at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:176)	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)