[jboss-dev-forums] [JBoss AS 7 Development] - ClassDefNotFound Spring
mazmart
do-not-reply at jboss.com
Fri Dec 2 03:21:31 EST 2011
mazmart [http://community.jboss.org/people/mazmart] created the discussion
"ClassDefNotFound Spring"
To view the discussion, visit: http://community.jboss.org/message/639480#639480
--------------------------------------------------------------
Hello. please help im preaty sure i have sprint 3.0.2 in /lib/spring3.0 directory but deployment throws this error.:
`SEVERE org.springframework.web.context.ContextLoader org.springframework.web.context.ContextLoader (MSC service thread 1-12) Context initialization failed: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource /WEB-INF/applicationContext.xml /WEB-INF/applicationContext.xml; nested exception is java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) spring-beans-3.0.2.RELEASE.jar:
Caused by: java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:348) spring-core-3.0.2.RELEASE.jar:
Caused by: java.lang.ClassNotFoundException: org.jboss.virtual.VirtualFileVisitor from [Module "deployment.ProTurism.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)`
08:58:10,259 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ProTurism]] (MSC service thread 1-12) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource /WEB-INF/applicationContext.xml /WEB-INF/applicationContext.xml; nested exception is java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) spring-beans-3.0.2.RELEASE.jar:
Caused by: java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:348) spring-core-3.0.2.RELEASE.jar:
Caused by: java.lang.ClassNotFoundException: org.jboss.virtual.VirtualFileVisitor from [Module "deployment.ProTurism.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
08:58:10,269 ERROR org.apache.catalina.core.StandardContext org.apache.catalina.core.StandardContext (MSC service thread 1-12) Error listenerStart
08:58:10,269 ERROR org.apache.catalina.core.StandardContext org.apache.catalina.core.StandardContext (MSC service thread 1-12) Context /ProTurism /ProTurism startup failed due to previous errors
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/639480#639480]
Start a new discussion in JBoss AS 7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111202/362a3e74/attachment.html
More information about the jboss-dev-forums
mailing list