Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] JNDI, WebAppContext unable to load

Hi,

On Mon, Mar 21, 2016 at 8:17 PM, Markus Innerebner
<mailinglist.innerebner@xxxxxxxxx> 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.


Back to the top