3 Replies Latest reply on Jun 22, 2008 7:05 AM by Ales Justin

    spring deployer -- NoClassDefFound exception (works on Linux

    Corey M. Ellis Newbie

      Hi,

      I have installed a JBoss application on Solaris 10, the same deployment works fine on Linux, AIX.

      I am now getting this NoClassDef Exception when I can clearly see that the class is located in the spring-core.jar file that is in the server/default/lib folder and is also located in the jboss-spring.deployer package that is in the deploy directory.

      I can't figure out why I am getting this NoClassDef Exception when deploying on Solaris.

      I am using JBoss 4.0.4 I am using a spring-deployer version of 1.2 because I need to remain compatible with 1.4 JVM. However in this particular example, the JVM's for both Linux and solaris are 1.5.

      The error is below


      INFO | jvm 1 | 2008/06/20 15:58:12 | --- Incompletely deployed packages ---
      INFO | jvm 1 | 2008/06/20 15:58:12 | org.jboss.deployment.DeploymentInfo@548a161b { url=file:/usr/local/jboss/server/default/deploy/Authentication.spring/ }
      INFO | jvm 1 | 2008/06/20 15:58:12 | deployer: org.jboss.spring.deployment.SpringApplicationContextDeployer@15bfdbd
      INFO | jvm 1 | 2008/06/20 15:58:12 | status: Deployment FAILED reason: org/springframework/core/io/support/ResourcePatternResolver
      INFO | jvm 1 | 2008/06/20 15:58:12 | state: FAILED
      INFO | jvm 1 | 2008/06/20 15:58:12 | watch: file:/usr/local/jboss/server/default/deploy/Authentication.spring/
      INFO | jvm 1 | 2008/06/20 15:58:12 | altDD: null
      INFO | jvm 1 | 2008/06/20 15:58:12 | lastDeployed: 1213991864100
      INFO | jvm 1 | 2008/06/20 15:58:12 | lastModified: 1213961722000
      INFO | jvm 1 | 2008/06/20 15:58:12 | mbeans:
      INFO | jvm 1 | 2008/06/20 15:58:12 |
      INFO | jvm 1 | 2008/06/20 15:58:12 |

        • 1. Re: spring deployer -- NoClassDefFound exception (works on L
          Corey M. Ellis Newbie

          Hi just to add, I did a look up from the jmx-console on the Loader Repository, and as expected the class is loaded. So I don't understand why jboss is throwing a noClassDefFound exception.

          org/springframework/core/io/support/ResourcePatternResolver Information
          Not loaded in repository cache


          ### Instance0 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3@16614e7{ url=null ,addedOrder=2}


          ### Instance1 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3@1f9338f{ url=file:/home/jboss/server/default/deploy/jboss-spring.deployer/ ,addedOrder=3}


          • 2. Re: spring deployer -- NoClassDefFound exception (works on L
            Corey M. Ellis Newbie

            Hi,

            I am posting the exception for completeness.

            Thanks in advance...



            INFO | jvm 1 | 2008/06/20 16:23:54 | java.lang.NoClassDefFoundError: org/springframework/core/io/support/ResourcePatternResolve
            r
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass1(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.security.AccessController.doPrivileged(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
            .java:672)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
            52)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
            .java:190)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
            va:517)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
            05)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.spring.factory.ApplicationContextLoaderImpl.createBeanFactory(Applicati
            onContextLoaderImpl.java:36)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.spring.factory.AbstractBeanFactoryLoader.create(AbstractBeanFactoryLoad
            er.java:85)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.spring.deployment.SpringDeployer.create(SpringDeployer.java:117)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
            :25)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.reflect.Method.invoke(Method.java:585)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperatio
            nInterceptor.java:142)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at $Proxy7.deploy(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.jav
            a:421)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:
            634)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Abstr
            actDeploymentScanner.java:263)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeplo
            ymentScanner.java:336)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
            289)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.j
            ava:245)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
            :25)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.reflect.Method.invoke(Method.java:585)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978
            )
            INFO | jvm 1 | 2008/06/20 16:23:54 | at $Proxy0.start(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.ServiceController.start(ServiceController.java:417)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
            :25)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.reflect.Method.invoke(Method.java:585)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at $Proxy4.start(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
            :25)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.reflect.Method.invoke(Method.java:585)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperatio
            nInterceptor.java:142)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at $Proxy5.deploy(Unknown Source)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.Main.boot(Main.java:200)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.Main$1.run(Main.java:464)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.Main.boot(Main.java:200)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at org.jboss.Main$1.run(Main.java:464)
            INFO | jvm 1 | 2008/06/20 16:23:54 | at java.lang.Thread.run(Thread.java:595)

            • 3. Re: spring deployer -- NoClassDefFound exception (works on L
              Ales Justin Master

               

              "odigokid" wrote:

              I am now getting this NoClassDef Exception when I can clearly see that the class is located in the spring-core.jar file that is in the server/default/lib folder and is also located in the jboss-spring.deployer package that is in the deploy directory.

              Keep just one version of spring-core.jar.
              Probably the one in server/default/lib - if your app uses Spring outside spring-deployer notion.