Hi !!

I'm trying to make appfuse light work with Spring and Wicket, as indicated
here :
http://www.nabble.com/How-I-got-jetty%3Arun-to-work.-to9999689s2369.html#a9999689
, but it fails when I use the mvn install command. I get the following
error, when cargo seems to deploy the newly created war :
[INFO] Building war:
/home/matt/dev/tests/tests_appfuse/aeffacer/target/aeffacer-1.8.2.war
[INFO] [cargo:start {execution: start-container}]
[INFO] [stalledLocalDeployer] Deploying
[/home/matt/dev/tests/tests_appfuse/aeffacer/target/aeffacer-1.8.2.war] to
[/home/matt/dev/tests/tests_appfuse/aeffacer/target/tomcat5x/container/webapps]...
[INFO] [talledLocalContainer] Tomcat 5.x starting...
[WARNING] [talledLocalContainer] java.lang.ClassNotFoundException:
org.apache.catalina.startup.Catalina
[WARNING] [talledLocalContainer]        at
java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[WARNING] [talledLocalContainer]        at
java.security.AccessController.doPrivileged(Native Method)
[WARNING] [talledLocalContainer]        at
java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[WARNING] [talledLocalContainer]        at
java.lang.ClassLoader.loadClass(ClassLoader.java:323)
[WARNING] [talledLocalContainer]        at
java.lang.ClassLoader.loadClass(ClassLoader.java:268)
[WARNING] [talledLocalContainer]        at
org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:215)
[WARNING] [talledLocalContainer]        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390)
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to start the Tomcat 5.x container.
Deployable [http://localhost:25888/cargocpc/index.html] failed to finish
deploying within the timeout period [120000]. The Deployable state is thus
unknown.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Failed to start the Tomcat
5.x container.
        at
org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:160)
...and so on...

Tomcat works correctly when I use its startup.sh and shutdown.sh scripts (I
also created a user with a manager role).

In the project's pom.xml, I modified this lign (since I'm using this
version) :

        <tomcat.version>6.0.18</tomcat.version>

The steps I followed :
cd appfuse-light-wicket-hibernate-1.8.2/
ant new
cd ../aeffacer/
mvn install
and there comes the error...

I can't find any solution to this. Can anybody help me, please ?

Thank you
frarebo
-- 
View this message in context: 
http://www.nabble.com/ClassNotFoundException-on-tomcat-startup-when-using-mvn-install-tp20868504s2369p20868504.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to