Closed GoogleCodeExporter closed 9 years ago
I've actually found the reason for this ... I kept all my libraries in
WEB-INF/lib,
this caused them to get loaded twice (by both runjettyrun and jetty I suppose).
A fix for this would be greatly appreciated :)
Original comment by soeren...@gmail.com
on 24 Apr 2008 at 10:03
+1
Original comment by m.zd...@gmail.com
on 16 May 2008 at 7:58
In the VM arguments of the launch config add:
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
Seemed to work for me.
Original comment by simonhar...@hotmail.com
on 2 Dec 2008 at 10:50
I was experiencing the exact same problem trying to run the HelloWorld example
for
the Echo3 web framework. It was giving me the following exception:
java.lang.ClassCastException: nextapp.echo.app.serial.property.IntegerPeer
cannot be
cast to nextapp.echo.app.serial.SerialPropertyPeer
I also keep my all of .jar libraries for the project in its WEB-INF/lib folder
as
soerensen describes above.
I thought it was an Echo3 issue, but running the HelloWorld on Tomcat worked
great.
It turns out that adding the
-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true
line to the VM config (described by Simon above) fixes the problem.
So thanks a bunch for the fix!! You rock.
Original comment by eldaa...@gmail.com
on 15 Feb 2009 at 7:12
I think this is a duplicate of issue 8:
http://code.google.com/p/run-jetty-run/issues/detail?id=8
Original comment by James.Sy...@gmail.com
on 4 May 2009 at 12:55
Original issue reported on code.google.com by
soeren...@gmail.com
on 23 Apr 2008 at 8:31