eclipse jetty:run differs to cli mvn jetty:run

Posted by adam on Stack Overflow See other posts from Stack Overflow or by adam
Published on 2009-12-10T09:58:36Z Indexed on 2010/12/23 17:54 UTC
Read the original article Hit count: 641

Filed under:
|
|

I have managed to track a problem where within eclipse I see no error, but anywhere outside eclipse the error exists.

The error I get when run outside eclipse is LazyInitializationException from hibernate - caused by a ${entity.service.id} reference in the jsp.

Outside eclipse I have tried jetty standalone, mvn jetty:run from the command line, and tomcat. I've cleaned the projects, disabled workspace dependency etc. I'm using eclipse galileo, m2eclipse 0.9.8.200905041414, jdk 1.6_17, maven 2.1.1 (not embedded), jetty 6.1.22 (standalone and plugin).

How is that possible??

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about jetty