Details
Description
Steps to reproduce:
- Download jetty-distribution-7.1.6.v20100715
- Put cargo-jetty-7-and-onwards-deployer-1.0.5.war in the webapps directory
- Launch bin/jetty.sh start
- Visit http://localhost:8080/cargo-jetty-deployer/
- And I get:
java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.eclipse.jetty.servlet.Holder.newInstance(Holder.java:157)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:407)
Now, I try the same with jetty-distribution-7.2.1.v20101111 and I also try deployments and it all works perfectly. My only suggestion would therefore be to upgrade to Jetty 7.2.1.