-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
- Use listener "org.jboss.weld.environment.servlet.Listener" in web.xml
- Start jetty application server in GWT dev (2.6.0 in this case) hosted mode
Exception, which indicates that an old jetty version is requested:
09:46:19.586 [main] INFO o.j.w.e.g.GwtDevHostedModeContainer - GWTHostedMode detected, JSR-299 injection will be available in Servlets and Filters. Injection into Listeners is not supported. [WARN] FAILED c.g.g.d.s.j.WebAppContextWithReload{/,[file:/a.jar, jar:file:b.jar/]},: java.lang.NoClassDefFoundError: org/mortbay/jetty/servlet/ServletHandler java.lang.NoClassDefFoundError: org/mortbay/jetty/servlet/ServletHandler at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:413) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) at org.jboss.weld.environment.gwtdev.GwtDevHostedModeContainer.getWeldServletHandlerClass(GwtDevHostedModeContainer.java:46) at org.jboss.weld.environment.gwtdev.GwtDevHostedModeContainer.initialize(GwtDevHostedModeContainer.java:57) at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:150) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:518) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:717) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844) at com.google.gwt.dev.DevMode.main(DevMode.java:322) Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.servlet.ServletHandler at java.lang.ClassLoader.findClass(ClassLoader.java:531) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:407) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) ... 35 more [WARN] FAILED org.eclipse.jetty.server.handler.RequestLogHandler@1d85e52e: java.lang.NoClassDefFoundError: org/mortbay/jetty/servlet/ServletHandler java.lang.NoClassDefFoundError: org/mortbay/jetty/servlet/ServletHandler at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:413) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) at org.jboss.weld.environment.gwtdev.GwtDevHostedModeContainer.getWeldServletHandlerClass(GwtDevHostedModeContainer.java:46) at org.jboss.weld.environment.gwtdev.GwtDevHostedModeContainer.initialize(GwtDevHostedModeContainer.java:57) at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:150) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:518) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:717) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844) at com.google.gwt.dev.DevMode.main(DevMode.java:322) Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.servlet.ServletHandler at java.lang.ClassLoader.findClass(ClassLoader.java:531) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:407) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) ... 35 more [WARN] FAILED org.eclipse.jetty.server.Server@2c0e7d40: java.lang.NoClassDefFoundError: org/mortbay/jetty/servlet/ServletHandler java.lang.NoClassDefFoundError: org/mortbay/jetty/servlet/ServletHandler at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:413) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383) at org.jboss.weld.environment.gwtdev.GwtDevHostedModeContainer.getWeldServletHandlerClass(GwtDevHostedModeContainer.java:46) at org.jboss.weld.environment.gwtdev.GwtDevHostedModeContainer.initialize(GwtDevHostedModeContainer.java:57) at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:150) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:518) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:717) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844) at com.google.gwt.dev.DevMode.main(DevMode.java:322)
- is related to
-
AF-2558 Errai upgrade to Weld 3.1.6 (JEE8)
- Open