Hi,

You need to put OpenJPA's dependencies into the classpath as well.

-Patrick

On 7/9/07, Janap <[EMAIL PROTECTED]> wrote:

Hello all,

I am trying to run a simple Hello World OpenJPA application and need
enhancing to my classes.
My application is now a dynamic web project in Eclipse.

I want to add enhancing ability through the java agent.For this in the
Tomcat cofiguration i added..

-javaagent:C:\Programme\Eclipse\workspace\OpenJPATest\web\WEB-INF\lib\openjpa-0.9.7-incubating.jar
 mypackage.myclass

I get the following exception :
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/lang/exception/NestableRuntimeException
Exception in thread "main" FATAL ERROR in native method: processing of
-javaagent failed

Do I need to pass my persistent class as parameter or not...Can someone
please point out my mistake.

best wishes
Jan
--
View this message in context: 
http://www.nabble.com/Runtime-Enhancement-in-Eclipse-tf4049770.html#a11503057
Sent from the OpenJPA Users mailing list archive at Nabble.com.




--
Patrick Linskey
202 669 5907

Reply via email to