Jetty 8 is EOL (End of Life)
https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00069.html

Without knowing how the Android Studio instance of Jetty was started, it
would be hard to troubleshoot.
If this was a distribution started version of Jetty, then its likely
missing a distribution option to enable (and configure) for JSPs.


Joakim Erdfelt / joa...@webtide.com

On Fri, Feb 2, 2018 at 8:32 AM, Nicoleta Sarbu <sarbu.a.nicol...@gmail.com>
wrote:

> Hi,
>
> I moved a project from Eclipse to Android Studio that inlcudes
> jetty-8.1.15.jar for Android and I have this error on the server side
> (service unavailable):
>
> W/System.err: 2018-02-02 
> 15:45:40.238:WARN:oejw.StandardDescriptorProcessor:Could
> not instantiate listener org.eclipse.jetty.servlet.list
> ener.ELContextCleaner
> W/System.err: java.lang.NullPointerException: throw with null exception
> W/System.err:     at java.net.URLClassLoader.findCl
> ass(URLClassLoader.java:371)
> W/System.err:     at org.eclipse.jetty.webapp.WebAp
> pClassLoader.loadClass(WebAppClassLoader.java:421)
> W/System.err:     at org.eclipse.jetty.webapp.WebAp
> pClassLoader.loadClass(WebAppClassLoader.java:383)
> W/System.err:     at org.eclipse.jetty.server.handl
> er.ContextHandler.loadClass(ContextHandler.java:1528)
> W/System.err:     at org.eclipse.jetty.webapp.Stand
> ardDescriptorProcessor.visitListener(StandardDescriptorProce
> ssor.java:1893)
> W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
> W/System.err:     at org.eclipse.jetty.webapp.Itera
> tiveDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
> W/System.err:     at org.eclipse.jetty.webapp.Itera
> tiveDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
> W/System.err:     at org.eclipse.jetty.webapp.MetaD
> ata.resolve(MetaData.java:366)
> W/System.err:     at org.eclipse.jetty.webapp.WebAp
> pContext.startContext(WebAppContext.java:1240)
> W/System.err:     at org.eclipse.jetty.server.handl
> er.ContextHandler.doStart(ContextHandler.java:717)
> W/System.err:     at org.eclipse.jetty.webapp.WebAp
> pContext.doStart(WebAppContext.java:494)
> W/System.err:     at org.eclipse.jetty.util.compone
> nt.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> W/System.err:     at org.eclipse.jetty.server.handl
> er.HandlerWrapper.doStart(HandlerWrapper.java:95)
> W/System.err:     at org.eclipse.jetty.server.Serve
> r.doStart(Server.java:282)
> W/System.err:     at org.eclipse.jetty.util.compone
> nt.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>
> The library is added as a dependency. Is there any other setup that needs
> to be done?
>
> Thank you
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to