Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recently merged PR #222 causing problem with embedded Jetty? #226

Closed
JamesSullivan opened this issue Feb 4, 2016 · 2 comments
Closed

Recently merged PR #222 causing problem with embedded Jetty? #226

JamesSullivan opened this issue Feb 4, 2016 · 2 comments

Comments

@JamesSullivan
Copy link
Contributor

When running Mamute on Ubuntu 14.04/Java 8 with embedded Jetty I am now seeing the error below. I suspect it is due to the recently merged pull request Preliminary Tomcat 8 compatibility #222 1

Jetty 8 Servlet 3.0
Tomcat 8 Servlet 3.1

16:49:24 WARN [Holder ]
java.lang.ClassNotFoundException: org.apache.catalina.servlets.DefaultServlet
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:415)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
at org.eclipse.jetty.util.Loader.loadClass(Loader.java:92)
at org.eclipse.jetty.util.Loader.loadClass(Loader.java:71)
at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:92)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:291)
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:258)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
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.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:263)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at br.com.caelum.vraptor.server.VRaptorServer.start(VRaptorServer.java:41)
at br.com.caelum.vraptor.server.Main.main(Main.java:17)

@JamesSullivan
Copy link
Contributor Author

If I remove lines 36 -60 in web.xml embedded Jetty works fine.
xdarklight@71f1475

@xdarklight
Copy link
Contributor

thanks for reporting, it seems that I didn't look at the error log.
I'm going to come up with a different solution -> #228.

I already created a PR to revert that specific bit.

JamesSullivan pushed a commit to JamesSullivan/mamute that referenced this issue Apr 3, 2016
JamesSullivan pushed a commit to JamesSullivan/mamute that referenced this issue Apr 4, 2016
JamesSullivan pushed a commit to JamesSullivan/mamute that referenced this issue Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants