Hi, On Mon, Mar 21, 2016 at 8:17 PM, Markus Innerebner <[email protected]> wrote: > Hello everyone, > > I tried to pass my web application (eclipse project) from maven 7 to maven 9 > version(9.3.7.v20160115). > > I changed the necessary settings in the various files, but when starting > jetty with the eclipse jetty-maven-plugin launching the command jetty:run > I got the error when loading the WebAppContext file specified in > jetty-env.xml: > > the error message is > ------------------------------- > > java.lang.IllegalArgumentException: Object of class > 'org.eclipse.jetty.maven.plugin.JettyWebAppContext' is not of type > 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type Class are > from different loaders. in > file:/xx/WebApp/src/main/webapp/WEB-INF/jetty-env.xml
You have classloader issues. Please double check that you don't have Jetty jars inside your war. -- Simone Bordet ---- http://cometd.org http://webtide.com Developer advice, training, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
