[ https://issues.apache.org/activemq/browse/AMQ-1015?page=all ]
Adrian Co resolved AMQ-1015. ---------------------------- Resolution: Fixed Backported to 4.0.x branch. rev 469583 > ActiveMQ web-demo and web-console cannot be run > ----------------------------------------------- > > Key: AMQ-1015 > URL: https://issues.apache.org/activemq/browse/AMQ-1015 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 4.1, 4.0.2 > Reporter: Adrian Co > Assigned To: Adrian Co > Fix For: 4.0.3, 4.1 > > > Let's update the maven plugin from maven-jetty-plugin to maven-jetty6-plugin > for the 4.1.x branch and the 4.0.x branch. The web-console is throwing this > exception after: > java.lang.NoSuchMethodError: > org.mortbay.jetty.webapp.WebAppClassLoader.getUrlClassPath()Ljava/lang/String; > at > org.mortbay.jetty.plugin.Jetty6MavenConfiguration.configureClassLoader(Jetty6MavenConfiguration.jav > a:62) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:453) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156) > at > org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119) > at org.mortbay.jetty.Server.doStart(Server.java:210) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38) > at > org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:115) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:318) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:268) > at > org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:172) > at > org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:167) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor. > java:488) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleEx > ecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.ja > va:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > 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:585) > 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) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira