[jboss-user] [Installation, Configuration & Deployment] - JBOSS deploy cannot success

design2006 do-not-reply at jboss.com
Wed Sep 6 02:29:20 EDT 2006


When i deploy the webapp using JBOSS 4.0.4, after success deploy EJB, it should follow by deploy validation rules. But it gives me error: 

ERROR [MessageResourcesFactory] MessageResourcesFactory.createFactory
java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
        at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)


when i paste the struts library in the server\default\lib folder, it gives me ClassCastException. Anyone have idea about this? thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969640#3969640

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969640



More information about the jboss-user mailing list