0 Replies Latest reply on Nov 1, 2004 7:40 PM by Jeff Lu

    How to deploy web app/spring framework to Jboss?

    Jeff Lu Newbie

      Hi,

      I'm getting all kinds of errors on my web app using spring framework when try to start JBoss.

      19:34:15,154 INFO [TomcatDeployer] deploy, ctxPath=/xsl, warUrl=file:/C:/jboss-4.0.0RC1/server/default/deploy/xsl.war/
      19:34:15,815 ERROR [Engine] StandardContext[/xsl]Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
      java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      at org.springframework.web.context.ContextLoader.(ContextLoader.java:81)
      at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:56)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:108)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.apache.catalina.core.StandardContext.init(StandardContext.java:5434)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)