3 Replies Latest reply on Dec 19, 2014 7:09 AM by Jay SenSharma

    ClassNotFoundException: org.jboss.naming.ExternalContext

    valsaraj viswanathan Master

      Caused by: java.lang.NoClassDefFoundError: org/jboss/naming/ExternalContext

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:791)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

        at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)

        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)

        ... 35 more

      Caused by: java.lang.ClassNotFoundException: org.jboss.naming.ExternalContext from [Module "com.app.configuration:main" from local module loader @72d9ceea (roots: D:\jboss-as-7.1.2.Final\modules)]

        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)

        ... 40 more

       

      Which module contains dependency?