java.lang.NoClassDefFoundError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Deploying CXF client on JBoss AS 7
    via Stack Overflow by ewanc
    ,
  • Run As is totally broken
    via GitHub by gavinking
    ,
    • java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:279)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:132)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:111)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)[jsf-impl-2.1.7-jbossorg-2.jar:] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)[jsf-impl-2.1.7-jbossorg-2.jar:] Caused by: java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger at oracle.adfinternal.controller.util.LogUtils.<clinit>(LogUtils.java:40)[adf-controller-rt-common.jar:] at oracle.adfinternal.controller.lifecycle.LifecycleImpl.<clinit>(LifecycleImpl.java:38)[adf-controller.jar:] at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)[adf-controller.jar:] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[rt.jar:1.7.0_04] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[rt.jar:1.7.0_04] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[rt.jar:1.7.0_04] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)[rt.jar:1.7.0_04] at java.lang.Class.newInstance0(Class.java:372)[rt.jar:1.7.0_04] at java.lang.Class.newInstance(Class.java:325)[rt.jar:1.7.0_04] at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:268)[jsf-impl-2.1.7-jbossorg-2.jar:] ... 7 more Caused by: java.lang.ClassNotFoundException: oracle.adf.share.logging.ADFLogger from [Module "deployment.ola_ViewController_webapp.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) ... 17 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    81 more bugmates