I'm building Tapestry 5.0.18 apps in Eclipse with Jetty with no problem.
What plugin are you using to run jetty in eclipse?  At first I tried
JettyLauncher because it was recommended in the Tapestry tutorial (for older
versions of Jetty and Eclipse), but I got ClassNotFoundExceptions when
running with Jetty 6 and Eclipse 3.4.  I switched to run-jetty-run.

Can you run in jetty outside eclipse?


On Tue, Aug 11, 2009 at 1:56 AM, Eldred Mullany <
eldred.mull...@easypay.co.za> wrote:

> Hi All
>
>
>
> I am having a strange problem with an old t5.0.13 app and jetty. When I
> startup the application in Eclipse it shows that it connects to db,
> starts up all services etc, however when hit a web page that contains
> any component such as <t:form>  throws an exception
> java.lang.ClassNotFoundException: caught an exception while obtaining a
> class file for org.apache.tapestry5.corelib.components. I then built a
> war file and deployed it under tomcat and it worked fine.
>
>
>
> So the problem seems to be jetty, but not sure what's causing it not to
> resolve classes, does anyone have any suggestions on what the cause of
> this is. I checked my tapestry-core-5.0.13.jar which doesn't seem
> corrupt, all classes reside in their respective packages. It would'nt
> have worked in tomcat if my libraries were corrupt.
>
>
>
> Thanks
>
> Eldred Mullany
>
>
>
>

Reply via email to