java.lang.NoClassDefFoundError: Failed to link org/apache/cxf/jaxrs/ext/search/QueryContextProvider (Module "deployment.mis2-ear.ear.mis2-web.war:main" from Service Module Loader): org/apache/cxf/jaxrs/ext/ContextProvider

Stack Overflow | raho | 9 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

    wildfly10: NoClassDefFoundError on deployment for cxf-rt-rs-extension-search

    Stack Overflow | 9 months ago | raho
    java.lang.NoClassDefFoundError: Failed to link org/apache/cxf/jaxrs/ext/search/QueryContextProvider (Module "deployment.mis2-ear.ear.mis2-web.war:main" from Service Module Loader): org/apache/cxf/jaxrs/ext/ContextProvider
  2. 0

    Wildfly 10.0 - java.lang.NoClassDefFoundError: Failed to link org/jboss/resteasy/skeleton/key/as7/OAuthAuthenticationServerValve

    Stack Overflow | 11 months ago | user1223183
    java.lang.NoClassDefFoundError: Failed to link org/jboss/resteasy/skeleton/key/as7/OAuthAuthenticationServerValve (Module "org.jboss.resteasy.skeleton-key:main" from local module loader @33e5ccce (finder: local module finder @5a42bbf4 (roots: /media/data/im_jboss/wildfly/wildfly-10.0.0.Final/modules,/media/data/im_jboss/wildfly/wildfly-10.0.0.Final/modules/system/layers/base))): org/apache/catalina/LifecycleListener
  3. 0

    Post_Module error in jboss

    Stack Overflow | 4 months ago | user2897173
    java.lang.NoClassDefFoundError: Failed to link org/jboss/resteasy/plugins/spring/SpringContextLoaderListener (Module "deployment.spafinder-java-clientspecific.war:main" from Service Module Loader): org/springframework/web/context/ContextLoaderListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 175#171792385

    GitHub | 1 year ago | thomasmey
    java.lang.reflect.InvocationTargetException
  6. 0

    WildFly 10.0 - NoClassDefFoundError on deploy for classes defined in pom

    Stack Overflow | 9 months ago | rakehell
    java.lang.NoClassDefFoundError: Failed to link com/meritagesystems/codecompliance/common/MultiLineToStringStyle (Module "deployment.CodeComplianceServices.war:main" from Service Module Loader): org/apache/commons/lang3/builder/ToStringStyle
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.NoClassDefFoundError

    Failed to link org/apache/cxf/jaxrs/ext/search/QueryContextProvider (Module "deployment.mis2-ear.ear.mis2-web.war:main" from Service Module Loader): org/apache/cxf/jaxrs/ext/ContextProvider

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  3. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
    2. org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
    3. org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
    4. org.jboss.modules.Module.loadModuleClass(Module.java:605)
    5. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    6. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    7. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    8. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    8 frames
  4. RESTEasy JAX-RS Implementation
    HttpServletDispatcher.init
    1. org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:546)
    2. org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:342)
    3. org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:245)
    4. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
    5. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
    5 frames
  5. Undertow Servlet
    LifecyleInterceptorInvocation.proceed
    1. io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
    1 frame
  6. WildFly: Undertow
    RunAsLifecycleInterceptor.init
    1. org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
    1 frame
  7. Undertow Servlet
    DeploymentManagerImpl.start
    1. io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
    2. io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)
    3. io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)
    4. io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)
    4 frames
  8. WildFly: Undertow
    UndertowDeploymentService$1.run
    1. org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
    2. org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames
  10. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
    1 frame