From: Brett P. (JIRA) <ji...@co...> - 2006-05-20 19:43:44
|
Jetty plugin beta12 can no longer run plexus-based servlets ----------------------------------------------------------- Key: JETTY-62 URL: http://jira.codehaus.org/browse/JETTY-62 Project: Jetty Type: Bug Components: Maven2 Versions: 6.0.0beta15, 6.0.0beta14, 6.0.0beta12 Reporter: Brett Porter I've not yet investigated what changed, but it works when I use beta11. An example is MRM: http://svn.apache.org/repos/asf/maven/repository-manager/trunk (run mvn install at the root, then jetty6:run in the webapp) Caused by: java.lang.ClassCastException: org.apache.maven.plugin.MavenPluginDiscoverer at org.codehaus.plexus.component.discovery.DefaultComponentDiscovererManager.initialize(DefaultComponentDiscovererManager.java:89) at org.codehaus.plexus.DefaultPlexusContainer.initializeCoreComponents(DefaultPlexusContainer.java:1252) at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:640) at org.codehaus.plexus.embed.Embedder.start(Embedder.java:216) at org.codehaus.plexus.servlet.ServletContextUtils.createContainer(ServletContextUtils.java:172) at org.codehaus.plexus.servlet.PlexusServletContextListener.contextInitialized(PlexusServletContextListener.java:65) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:368) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:970) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:341) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:368) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:37) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:133) at org.mortbay.jetty.Server.doStart(Server.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:37) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:116) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:398) ... 21 more -- 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 |