maven-jetty-plugin throws a ClassNotFoundException --------------------------------------------------
Key: MNG-4567 URL: http://jira.codehaus.org/browse/MNG-4567 Project: Maven 2 & 3 Issue Type: Bug Affects Versions: 2.2.1 Environment: muellerc$ mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Java version: 1.6.0_17 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac" maven-jetty-plugin: 6.1.22 Reporter: Christian Mueller I tried to upgrade from Maven 2.0.9 to 2.2.1, but the maven-jetty-plugin (6.1.22) throws a ClassNotFoundException by executing "mvn jetty:run" with Maven 2.2.1. We use the following project configuration: [pom.xml|http://svn.apache.org/viewvc/camel/tags/camel-2.2.0/components/camel-web/pom.xml?view=markup] The comand line output for Maven 2.0.9 is the following: {code} muellerc$ mvn jetty:run --debug ... [DEBUG] Configuring mojo 'org.mortbay.jetty:maven-jetty-plugin:6.1.22:run' --> [DEBUG] (f) classesDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/classes [DEBUG] (f) contextPath = /camel-web [DEBUG] (f) daemon = false [DEBUG] (f) pluginArtifacts = [org.mortbay.jetty:jetty:jar:6.1.22:runtime, org.mortbay.jetty:jetty-util:jar:6.1.22:runtime, org.mortbay.jetty:servlet-api:jar:2.5-20081211:runtime, org.codehaus.plexus:plexus-utils:jar:1.1:runtime, org.apache.maven:maven-plugin-tools-api:jar:2.0:runtime, org.mortbay.jetty:jetty-plus:jar:6.1.22:runtime, geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:runtime, org.mortbay.jetty:jetty-naming:jar:6.1.22:runtime, javax.mail:mail:jar:1.4:runtime, org.mortbay.jetty:jetty-management:jar:6.1.22:runtime, org.mortbay.jetty:jsp-2.1-jetty:jar:6.1.22:runtime, org.eclipse.jdt:core:jar:3.1.1:runtime, org.mortbay.jetty:jsp-api-2.1-glassfish:jar:9.1.1.B60.25.p2:runtime, org.mortbay.jetty:jsp-2.1-glassfish:jar:9.1.1.B60.25.p2:runtime, ant:ant:jar:1.6.5:runtime, org.mortbay.jetty:jetty-annotations:jar:6.1.22:runtime, org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.0:runtime, org.mortbay.jetty:start:jar:6.1.22:runtime, org.apache.maven:maven-project:jar:2.0.3:runtime, org.apache.maven:maven-plugin-api:jar:2.0.3:runtime, org.apache.maven:maven-artifact:jar:2.0.3:runtime] [DEBUG] (f) project = MavenProject: org.apache.camel:camel-web:2.3-SNAPSHOT @ /Users/muellerc/workspaceApacheGit/camel/components/camel-web/pom.xml [DEBUG] (f) reload = automatic [DEBUG] (f) scanIntervalSeconds = 10 [DEBUG] (s) name = com.sun.management.jmxremote [DEBUG] (s) systemProperty = org.mortbay.jetty.plugin.util.systemprope...@2e9a5a48 [DEBUG] (s) systemProperties = org.mortbay.jetty.plugin.util.systempropert...@179d44df [DEBUG] (f) testClassesDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/test-classes [DEBUG] (f) tmpDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/work [DEBUG] (f) useTestClasspath = false [DEBUG] (s) contextPath = / [DEBUG] (f) webAppConfig = org.mortbay.jetty.plugin.jetty6pluginwebappcont...@5f095c81{/,null} [DEBUG] (f) webAppSourceDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp [DEBUG] -- end configuration -- [INFO] [jetty:run] [INFO] Configuring Jetty for project: Camel :: Web [INFO] Webapp source directory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp [INFO] Reload Mechanic: automatic [INFO] Classes = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/classes [DEBUG] Starting Jetty Server ... [DEBUG] Property com.sun.management.jmxremote=null was set [DEBUG] Setting Connector: org.mortbay.jetty.nio.SelectChannelConnector on port 8080 2010-02-21 22:21:41.835:INFO::Logging to STDERR via org.mortbay.log.StdErrLog [INFO] Context path = / [INFO] Tmp directory = determined at runtime [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml [INFO] Web overrides = none [DEBUG] Adding artifact camel-core-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact commons-logging-api-1.1.jar for WEB-INF/lib [DEBUG] Adding artifact commons-management-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact camel-spring-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact spring-context-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact aopalliance-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact spring-beans-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-core-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-aop-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-tx-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact camel-groovy-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact groovy-all-1.7.0.jar for WEB-INF/lib [DEBUG] Adding artifact jline-0.9.94.jar for WEB-INF/lib [DEBUG] Adding artifact camel-ruby-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact jruby-1.4.0.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-spring-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-server-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-core-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jsr311-api-1.1.1.jar for WEB-INF/lib [DEBUG] Adding artifact asm-3.1.jar for WEB-INF/lib [DEBUG] Adding artifact spring-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-web-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-json-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jettison-1.2.jar for WEB-INF/lib [DEBUG] Adding artifact stax-api-1.0.1.jar for WEB-INF/lib [DEBUG] Adding artifact jaxb-impl-2.1.12.jar for WEB-INF/lib [DEBUG] Adding artifact jaxb-api-2.1.jar for WEB-INF/lib [DEBUG] Adding artifact stax-api-1.0-2.jar for WEB-INF/lib [DEBUG] Adding artifact activation-1.1.jar for WEB-INF/lib [DEBUG] Adding artifact jackson-core-asl-1.1.1.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-atom-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact rome-0.9.jar for WEB-INF/lib [DEBUG] Adding artifact jdom-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact sitemesh-2.4.2.jar for WEB-INF/lib [DEBUG] Adding artifact jsr250-api-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact jstl-1.1.2.jar for WEB-INF/lib [DEBUG] Adding artifact standard-1.1.2.jar for WEB-INF/lib [DEBUG] Adding artifact slf4j-api-1.5.10.jar for WEB-INF/lib [DEBUG] Adding artifact slf4j-log4j12-1.5.10.jar for WEB-INF/lib [DEBUG] classpath element: classes [DEBUG] classpath element: camel-core-2.3-SNAPSHOT.jar [DEBUG] classpath element: commons-logging-api-1.1.jar [DEBUG] classpath element: commons-management-1.0.jar [DEBUG] classpath element: camel-spring-2.3-SNAPSHOT.jar [DEBUG] classpath element: spring-context-2.5.6.jar [DEBUG] classpath element: aopalliance-1.0.jar [DEBUG] classpath element: spring-beans-2.5.6.jar [DEBUG] classpath element: spring-core-2.5.6.jar [DEBUG] classpath element: spring-aop-2.5.6.jar [DEBUG] classpath element: spring-tx-2.5.6.jar [DEBUG] classpath element: camel-groovy-2.3-SNAPSHOT.jar [DEBUG] classpath element: groovy-all-1.7.0.jar [DEBUG] classpath element: jline-0.9.94.jar [DEBUG] classpath element: camel-ruby-2.3-SNAPSHOT.jar [DEBUG] classpath element: jruby-1.4.0.jar [DEBUG] classpath element: jersey-spring-1.1.5.jar [DEBUG] classpath element: jersey-server-1.1.5.jar [DEBUG] classpath element: jersey-core-1.1.5.jar [DEBUG] classpath element: jsr311-api-1.1.1.jar [DEBUG] classpath element: asm-3.1.jar [DEBUG] classpath element: spring-2.5.6.jar [DEBUG] classpath element: spring-web-2.5.6.jar [DEBUG] classpath element: jersey-json-1.1.5.jar [DEBUG] classpath element: jettison-1.2.jar [DEBUG] classpath element: stax-api-1.0.1.jar [DEBUG] classpath element: jaxb-impl-2.1.12.jar [DEBUG] classpath element: jaxb-api-2.1.jar [DEBUG] classpath element: stax-api-1.0-2.jar [DEBUG] classpath element: activation-1.1.jar [DEBUG] classpath element: jackson-core-asl-1.1.1.jar [DEBUG] classpath element: jersey-atom-1.1.5.jar [DEBUG] classpath element: rome-0.9.jar [DEBUG] classpath element: jdom-1.0.jar [DEBUG] classpath element: sitemesh-2.4.2.jar [DEBUG] classpath element: jsr250-api-1.0.jar [DEBUG] classpath element: jstl-1.1.2.jar [DEBUG] classpath element: standard-1.1.2.jar [DEBUG] classpath element: slf4j-api-1.5.10.jar [DEBUG] classpath element: slf4j-log4j12-1.5.10.jar [INFO] web.xml file = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp/WEB-INF/web.xml [INFO] Webapp directory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp [INFO] Starting jetty 6.1.22 ... 2010-02-21 22:21:41.842:INFO::jetty-6.1.22 2010-02-21 22:21:41.951:INFO::No Transaction manager found - if your webapp requires one, please configure one. 2010-02-21 22:21:42.368:INFO:/:Initializing Spring root WebApplicationContext Feb 21, 2010 10:21:42 PM org.springframework.web.context.ContextLoader initWebApplicationContext INFO: Root WebApplicationContext: initialization started Feb 21, 2010 10:21:42 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.web.context.support.xmlwebapplicationcont...@77277ffa: display name [Root WebApplicationContext]; startup date [Sun Feb 21 22:21:42 CET 2010]; root of context hierarchy Feb 21, 2010 10:21:42 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] Feb 21, 2010 10:21:43 PM org.apache.camel.spring.handler.CamelNamespaceHandler init INFO: camel-osgi.jar/camel-spring-osgi.jar not detected in classpath Feb 21, 2010 10:21:43 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory INFO: Bean factory for application context [org.springframework.web.context.support.xmlwebapplicationcont...@77277ffa]: org.springframework.beans.factory.support.defaultlistablebeanfact...@6a4d2262 Feb 21, 2010 10:21:43 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.defaultlistablebeanfact...@6a4d2262: defining beans [template,consumerTemplate,camelContext:beanPostProcessor,camelContext]; root of factory hierarchy Feb 21, 2010 10:21:43 PM org.apache.camel.impl.DefaultCamelContext doStart INFO: Apache Camel 2.3-SNAPSHOT (CamelContext:camelContext) is starting Feb 21, 2010 10:21:43 PM org.apache.camel.impl.DefaultCamelContext createManagementStrategy INFO: JMX enabled. Using DefaultManagedLifecycleStrategy. Feb 21, 2010 10:21:44 PM org.apache.camel.impl.DefaultCamelContext start INFO: Started 1 routes Feb 21, 2010 10:21:44 PM org.apache.camel.impl.DefaultCamelContext start INFO: Apache Camel 2.3-SNAPSHOT (CamelContext:camelContext) started Feb 21, 2010 10:21:44 PM org.springframework.web.context.ContextLoader initWebApplicationContext INFO: Root WebApplicationContext: initialization completed in 1891 ms Feb 21, 2010 10:21:44 PM com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext INFO: Using default applicationContext Feb 21, 2010 10:21:44 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate INFO: Initiating Jersey application, version 'Jersey: 1.1.5 01/20/2010 03:55 PM' Feb 21, 2010 10:21:44 PM com.sun.jersey.api.core.PackagesResourceConfig init INFO: Scanning for root resource and provider classes in the packages: org.apache.camel.web Feb 21, 2010 10:21:44 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses INFO: Root resource classes found: class org.apache.camel.web.resources.CamelContextResource Feb 21, 2010 10:21:44 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses INFO: Provider classes found: class org.apache.camel.web.util.JAXBContextResolver class org.apache.camel.web.util.JAXBMarshallerResolver class org.apache.camel.web.util.JAXBContextResolverOSGI Feb 21, 2010 10:21:44 PM com.sun.jersey.server.impl.application.DeferredResourceConfig getApplication INFO: Instantiating the Application class, named org.apache.camel.web.util.CamelResourceConfig Feb 21, 2010 10:21:45 PM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc Feb 21, 2010 10:21:45 PM com.sun.jersey.api.wadl.config.WadlGeneratorLoader setProperty WARNING: Configuring the WadlGeneratorApplicationDoc with the file based property applicationDocsFile is deprecated and will be removed in future versions of jersey! You should use the InputStream based property instead. Feb 21, 2010 10:21:45 PM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport Feb 21, 2010 10:21:45 PM com.sun.jersey.api.wadl.config.WadlGeneratorLoader setProperty WARNING: Configuring the WadlGeneratorGrammarsSupport with the file based property grammarsFile is deprecated and will be removed in future versions of jersey! You should use the InputStream based property instead. Feb 21, 2010 10:21:45 PM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport Feb 21, 2010 10:21:45 PM com.sun.jersey.api.wadl.config.WadlGeneratorLoader setProperty WARNING: Configuring the WadlGeneratorResourceDocSupport with the file based property resourceDocFile is deprecated and will be removed in future versions of jersey! You should use the InputStream based property instead. 2010-02-21 22:21:45.592:INFO::Started selectchannelconnec...@0.0.0.0:8080 [INFO] Started Jetty Server [INFO] Starting scanner at interval of 10 seconds. {code} The comand line output Maven 2.2.1 is: {code} muellerc$ mvn jetty:run --debug ... [DEBUG] Configuring mojo 'org.mortbay.jetty:maven-jetty-plugin:6.1.22:run' --> [DEBUG] (f) classesDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/classes [DEBUG] (f) contextPath = /camel-web [DEBUG] (f) daemon = false [DEBUG] (f) pluginArtifacts = [org.mortbay.jetty:jetty:jar:6.1.22:runtime, org.mortbay.jetty:jetty-util:jar:6.1.22:runtime, org.mortbay.jetty:servlet-api:jar:2.5-20081211:runtime, org.codehaus.plexus:plexus-utils:jar:1.1:runtime, org.apache.maven:maven-plugin-tools-api:jar:2.0:runtime, org.mortbay.jetty:jetty-plus:jar:6.1.22:runtime, geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:runtime, org.mortbay.jetty:jetty-naming:jar:6.1.22:runtime, javax.mail:mail:jar:1.4:runtime, org.mortbay.jetty:jetty-management:jar:6.1.22:runtime, org.mortbay.jetty:jsp-2.1-jetty:jar:6.1.22:runtime, org.eclipse.jdt:core:jar:3.1.1:runtime, org.mortbay.jetty:jsp-api-2.1-glassfish:jar:9.1.1.B60.25.p2:runtime, org.mortbay.jetty:jsp-2.1-glassfish:jar:9.1.1.B60.25.p2:runtime, ant:ant:jar:1.6.5:runtime, org.mortbay.jetty:jetty-annotations:jar:6.1.22:runtime, org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.0:runtime, org.mortbay.jetty:start:jar:6.1.22:runtime, org.apache.maven:maven-project:jar:2.0.3:runtime, org.apache.maven:maven-plugin-api:jar:2.0.3:runtime, org.apache.maven:maven-artifact:jar:2.0.3:runtime] [DEBUG] (f) project = MavenProject: org.apache.camel:camel-web:2.3-SNAPSHOT @ /Users/muellerc/workspaceApacheGit/camel/components/camel-web/pom.xml [DEBUG] (f) reload = automatic [DEBUG] (f) scanIntervalSeconds = 10 [DEBUG] (s) name = com.sun.management.jmxremote [DEBUG] (s) systemProperty = org.mortbay.jetty.plugin.util.systemprope...@7f8be298 [DEBUG] (s) systemProperties = org.mortbay.jetty.plugin.util.systempropert...@38c9aa93 [DEBUG] (f) testClassesDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/test-classes [DEBUG] (f) tmpDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/work [DEBUG] (f) useTestClasspath = false [DEBUG] (s) contextPath = / [DEBUG] (f) webAppConfig = org.mortbay.jetty.plugin.jetty6pluginwebappcont...@76e44d85{/,null} [DEBUG] (f) webAppSourceDirectory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp [DEBUG] -- end configuration -- [INFO] [jetty:run {execution: default-cli}] [INFO] Configuring Jetty for project: Camel :: Web [INFO] Webapp source directory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp [INFO] Reload Mechanic: automatic [INFO] Classes = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/target/classes [DEBUG] Starting Jetty Server ... [DEBUG] Property com.sun.management.jmxremote=null was set [DEBUG] Setting Connector: org.mortbay.jetty.nio.SelectChannelConnector on port 8080 2010-02-21 22:29:46.892:INFO::Logging to STDERR via org.mortbay.log.StdErrLog [INFO] Context path = / [INFO] Tmp directory = determined at runtime [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml [INFO] Web overrides = none [DEBUG] classpath element: classes [INFO] web.xml file = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp/WEB-INF/web.xml [INFO] Webapp directory = /Users/muellerc/workspaceApacheGit/camel/components/camel-web/src/main/webapp [INFO] Starting jetty 6.1.22 ... 2010-02-21 22:29:46.898:INFO::jetty-6.1.22 2010-02-21 22:29:47.008:WARN::Could not instantiate listener org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 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:315) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) at org.mortbay.jetty.handler.ContextHandler.loadClass(ContextHandler.java:1101) at org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630) at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:368) at org.mortbay.jetty.plus.webapp.AbstractConfiguration.initWebXmlElement(AbstractConfiguration.java:190) at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289) at org.mortbay.jetty.plus.webapp.AbstractConfiguration.initialize(AbstractConfiguration.java:133) at org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222) at org.mortbay.jetty.plus.webapp.AbstractConfiguration.configure(AbstractConfiguration.java:113) at org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180) at org.mortbay.jetty.plus.webapp.AbstractConfiguration.configureWebApp(AbstractConfiguration.java:96) at org.mortbay.jetty.plus.webapp.Configuration.configureWebApp(Configuration.java:149) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1247) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) 2010-02-21 22:29:47.011:INFO::No Transaction manager found - if your webapp requires one, please configure one. 2010-02-21 22:29:47.198:WARN::EXCEPTION java.lang.ClassNotFoundException: com.opensymphony.module.sitemesh.filter.PageFilter 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:315) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) at org.mortbay.util.Loader.loadClass(Loader.java:91) at org.mortbay.util.Loader.loadClass(Loader.java:71) at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:81) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) 2010-02-21 22:29:47.200:WARN::failed sitemesh: javax.servlet.UnavailableException: com.opensymphony.module.sitemesh.filter.PageFilter {code} I miss the following lines, when running with Maven 2.2.1: {code} [DEBUG] Adding artifact camel-core-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact commons-logging-api-1.1.jar for WEB-INF/lib [DEBUG] Adding artifact commons-management-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact camel-spring-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact spring-context-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact aopalliance-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact spring-beans-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-core-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-aop-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-tx-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact camel-groovy-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact groovy-all-1.7.0.jar for WEB-INF/lib [DEBUG] Adding artifact jline-0.9.94.jar for WEB-INF/lib [DEBUG] Adding artifact camel-ruby-2.3-SNAPSHOT.jar for WEB-INF/lib [DEBUG] Adding artifact jruby-1.4.0.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-spring-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-server-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-core-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jsr311-api-1.1.1.jar for WEB-INF/lib [DEBUG] Adding artifact asm-3.1.jar for WEB-INF/lib [DEBUG] Adding artifact spring-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact spring-web-2.5.6.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-json-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact jettison-1.2.jar for WEB-INF/lib [DEBUG] Adding artifact stax-api-1.0.1.jar for WEB-INF/lib [DEBUG] Adding artifact jaxb-impl-2.1.12.jar for WEB-INF/lib [DEBUG] Adding artifact jaxb-api-2.1.jar for WEB-INF/lib [DEBUG] Adding artifact stax-api-1.0-2.jar for WEB-INF/lib [DEBUG] Adding artifact activation-1.1.jar for WEB-INF/lib [DEBUG] Adding artifact jackson-core-asl-1.1.1.jar for WEB-INF/lib [DEBUG] Adding artifact jersey-atom-1.1.5.jar for WEB-INF/lib [DEBUG] Adding artifact rome-0.9.jar for WEB-INF/lib [DEBUG] Adding artifact jdom-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact sitemesh-2.4.2.jar for WEB-INF/lib [DEBUG] Adding artifact jsr250-api-1.0.jar for WEB-INF/lib [DEBUG] Adding artifact jstl-1.1.2.jar for WEB-INF/lib [DEBUG] Adding artifact standard-1.1.2.jar for WEB-INF/lib [DEBUG] Adding artifact slf4j-api-1.5.10.jar for WEB-INF/lib [DEBUG] Adding artifact slf4j-log4j12-1.5.10.jar for WEB-INF/lib [DEBUG] classpath element: classes [DEBUG] classpath element: camel-core-2.3-SNAPSHOT.jar [DEBUG] classpath element: commons-logging-api-1.1.jar [DEBUG] classpath element: commons-management-1.0.jar [DEBUG] classpath element: camel-spring-2.3-SNAPSHOT.jar [DEBUG] classpath element: spring-context-2.5.6.jar [DEBUG] classpath element: aopalliance-1.0.jar [DEBUG] classpath element: spring-beans-2.5.6.jar [DEBUG] classpath element: spring-core-2.5.6.jar [DEBUG] classpath element: spring-aop-2.5.6.jar [DEBUG] classpath element: spring-tx-2.5.6.jar [DEBUG] classpath element: camel-groovy-2.3-SNAPSHOT.jar [DEBUG] classpath element: groovy-all-1.7.0.jar [DEBUG] classpath element: jline-0.9.94.jar [DEBUG] classpath element: camel-ruby-2.3-SNAPSHOT.jar [DEBUG] classpath element: jruby-1.4.0.jar [DEBUG] classpath element: jersey-spring-1.1.5.jar [DEBUG] classpath element: jersey-server-1.1.5.jar [DEBUG] classpath element: jersey-core-1.1.5.jar [DEBUG] classpath element: jsr311-api-1.1.1.jar [DEBUG] classpath element: asm-3.1.jar [DEBUG] classpath element: spring-2.5.6.jar [DEBUG] classpath element: spring-web-2.5.6.jar [DEBUG] classpath element: jersey-json-1.1.5.jar [DEBUG] classpath element: jettison-1.2.jar [DEBUG] classpath element: stax-api-1.0.1.jar [DEBUG] classpath element: jaxb-impl-2.1.12.jar [DEBUG] classpath element: jaxb-api-2.1.jar [DEBUG] classpath element: stax-api-1.0-2.jar [DEBUG] classpath element: activation-1.1.jar [DEBUG] classpath element: jackson-core-asl-1.1.1.jar [DEBUG] classpath element: jersey-atom-1.1.5.jar [DEBUG] classpath element: rome-0.9.jar [DEBUG] classpath element: jdom-1.0.jar [DEBUG] classpath element: sitemesh-2.4.2.jar [DEBUG] classpath element: jsr250-api-1.0.jar [DEBUG] classpath element: jstl-1.1.2.jar [DEBUG] classpath element: standard-1.1.2.jar [DEBUG] classpath element: slf4j-api-1.5.10.jar [DEBUG] classpath element: slf4j-log4j12-1.5.10.jar {code} Thanks for your help, Christian -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira