My Oracle Support Banner

Unable to Load JBoss RESTEasy JAX-RS Implementation (Doc ID 2428428.1)

Last updated on JULY 30, 2018

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When tried to deploy application which is using JBoss RESTEasy library, it generated below exception.

java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher

at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1026)

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:987)

at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:608)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:540)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:493)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:470)

at weblogic.servlet.internal.AnnotationProcessingManager.processServlets(AnnotationProcessingManager.java:241)

at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotationsInWebXml(AnnotationProcessingManager.java:228)

at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotations(AnnotationProcessingManager.java:131)

at weblogic.servlet.internal.AnnotationProcessingManager.processAnnotations(AnnotationProcessingManager.java:105)

at weblogic.servlet.tools.WARModule.processAnnotations(WARModule.java:502)

at weblogic.servlet.tools.WARModule.processAnnotations(WARModule.java:589)

at weblogic.servlet.tools.WARModule.merge(WARModule.java:537)

at weblogic.application.compiler.ToolsModuleWrapper.merge(ToolsModuleWrapper.java:96)

at weblogic.application.utils.CustomModuleManager.merge(CustomModuleManager.java:78)

at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:27)

at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:64)

at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)

at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)

at weblogic.application.compiler.BaseMerger.merge(BaseMerger.java:20)

at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:75)

at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:40)

at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)

at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)

at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:146)

at weblogic.utils.compiler.Tool.run(Tool.java:159)

at weblogic.utils.compiler.Tool.run(Tool.java:116)

at weblogic.application.compiler.AppMerge.merge(AppMerge.java:158)

at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:94)

at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:58)

at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:186)

at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:167)

at weblogic.deploy.api.tools.SessionHelper.initialize(SessionHelper.java:847)

at weblogic.deploy.api.tools.SessionHelper.initializeConfiguration(SessionHelper.java:668)

at weblogic.deploy.api.tools.SessionHelper.initializeConfiguration(SessionHelper.java:656)

at weblogic.deploy.api.tools.SessionHelper.initializeConfiguration(SessionHelper.java:739)

at com.bea.console.utils.DeploymentConfigurationHelper$1.execute(DeploymentConfigurationHelper.java:860)

at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:5646)

at com.bea.console.utils.DeploymentConfigurationHelper.initDeploymentConfiguration(DeploymentConfigurationHelper.java:848)

at com.bea.console.utils.DeploymentConfigurationHelper.completeInitialization(DeploymentConfigurationHelper.java:444)

at com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration(DeploymentConfigurationManager.java:151)

at com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration(DeploymentConfigurationManager.java:104)

at com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration(DeploymentConfigurationManager.java:65)

at com.bea.console.utils.PersistenceUtils.getPersistenceUnitNames(PersistenceUtils.java:76)

at com.bea.console.utils.PersistenceUtils.hasPersistenceUnits(PersistenceUtils.java:52)

at com.bea.console.utils.AppDeploymentBackingFile.preRender(AppDeploymentBackingFile.java:131)

at com.bea.netuix.servlets.controls.Backable$Impl.preRender(Backable.java:191)

at com.bea.netuix.servlets.controls.AdministeredBackableControl.preRender(AdministeredBackableControl.java:104)

at com.bea.netuix.servlets.controls.window.Window.preRender(Window.java:445)

at com.bea.netuix.servlets.controls.page.Page.preRender(Page.java:239)

at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)

at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)

at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)

at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)

at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)

at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)

at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)

at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)

at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:231)

at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)

at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:64)

at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:125)

at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)

at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at com.bea.console.internal.ParamFilter.doFilter(ParamFilter.java:38)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3683)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3649)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)

at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)

at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)

at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2433)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2259)

at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1691)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1651)

at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)

at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)

at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)

at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)

at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)

at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)



 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.