Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Embedded jetty

Change

context.setClassLoader(new WebAppClassLoader(getClass().getClassLoader(), context));

to

ClassLoader jspClassLoader = new URLClassLoader(new URL[0], context.getClass().getClassLoader());
context.setClassLoader(jspClassLoader);

you accidentally created a complicated circular mess of classloaders.

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Mon, Jul 13, 2015 at 6:54 AM, Idar Borlaug <idar.borlaug@xxxxxxxxx> wrote:

On Mon, Jul 13, 2015 at 3:53 PM Idar Borlaug <idar.borlaug@xxxxxxxxx> wrote:
Attaching an example: Can anyone tell me what i am missing here?
--
Idar Borlaug

--
Idar Borlaug


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top