Hi,
I downloaded the latest version of appfuse using the quickstart guide on
Windows XP, jdk1.6 . The example steps work first time and the server comes
up properly on localhost:8080 but all subsequent invocations fail. This has
happened to me consistently on three different sample projects so I am sure
this is not a case of inadvertent deletion or modification of a project
file.
mvn jetty:run results in:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse Spring MVC Application
[INFO] task-segment: [jetty:run]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing jetty:run
[INFO] warpath:add-classes {execution: default}
[INFO] native2ascii:native2ascii {execution: native2ascii-utf8}
[INFO] native2ascii:native2ascii {execution: native2ascii-8859_1}
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
2007-03-18 21:35:02.070::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
2007-03-18 21:35:02.360::INFO: jetty-6.0.x
2007-03-18 21:35:03.292::WARN: Could not instantiate listener
org.appfuse.webapp.listener.StartupListener
java.lang.ClassNotFoundException:
org.appfuse.webapp.listener.StartupListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadRealmClass(ClassRealm.java:170)
at
org.codehaus.plexus.classworlds.strategy.ForeignStrategy.loadClass(ForeignStrategy.java:39)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:197)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:358)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:320)
---(rest of output truncated to save space )---
I searhed for StartupListener class; found the jars included in the
.classpath as:
<classpathentry kind="lib"
path="target/warpath/appfuse-spring-2.0-m4-20070307.091744-31.warpath.jar"/>
<classpathentry kind="lib"
path="target/warpath/appfuse-web-common-2.0-m4-20070319.025558-87.warpath.jar"/>
I imported the project into eclipse as well; the issue is same whether
executed thru command line or thru eclipse maven plugin.
Please suggest any debugging steps or any output you'd like to see to help
understand the problem.
--
View this message in context:
http://www.nabble.com/appfuse-2.0-jetty%3Arun-fails-tf3425060s2369.html#a9546455
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]