Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Which the highest jetty version is supported in Jetty maven plugin ?


Hi,


My project runs on jetty 8.1.0.v20120127.
 

I tried to run my project with maven, but failed...

In maven-plugin, jetty version is 8.1.0 RC1..

so, this exception occurred.

Let me know how to change jetty-maven version..

Thank you in advance...


2012-02-07 20:18:26.118:INFO:oejs.Server:jetty-8.1.0.RC1
2012-02-07 20:18:26.429:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
2012-02-07 20:18:27.340:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/,file:/E:/eGovFrameDev-2.0.0-LightVer/workspace/test/src/main/webapp/},file:/E:/eGovFrameDev-2.0.0-LightVer/workspace/test/src/main/webapp/
2012-02-07 20:18:27.340:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/,file:/E:/eGovFrameDev-2.0.0-LightVer/workspace/test/src/main/webapp/},file:/E:/eGovFrameDev-2.0.0-LightVer/workspace/test/src/main/webapp/
2012-02-07 20:18:27.340:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/,file:/E:/eGovFrameDev-2.0.0-LightVer/workspace/test/src/main/webapp/},file:/E:/eGovFrameDev-2.0.0-LightVer/workspace/test/src/main/webapp/
2012-02-07 20:18:27.407:WARN:oejuc.AbstractLifeCycle:FAILED websocket: java.lang.NoSuchMethodError: org.eclipse.jetty.websocket.WebSocketFactory.start()V
java.lang.NoSuchMethodError: org.eclipse.jetty.websocket.WebSocketFactory.start()V
    at org.eclipse.jetty.websocket.WebSocketServlet.init(WebSocketServlet.java:76)
    at javax.servlet.GenericServlet.init(GenericServlet.java:242)
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:473)
    at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:293)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:776)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:255)
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:695)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
    at org.eclipse.jetty.server.Server.doStart(Server.java:262)
    at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
    at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
    at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:514)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)




--

----------------------------------------------------------------------------------
Seonhong Ahn 
Director of Research and Development

Collabra Co.
960-6 Deachi-dong, Gangnam-gu, Seoul, Korea 135-280 
Tel. 82-70-8670-6929         Fax. 82-2-6280-4807
Mobile 82-10-8292-3923
----------------------------------------------------------------------------------


Back to the top