I found the problem. I had to put the jar-file in the webapp/lib. This is
not very practicall. Is there someway to make tdk use the system classpath?

Maarten
----- Original Message -----
From: "mroosendaal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 11:04 AM
Subject: can't find a class


Hi,

I'm trying to call a Class from a package called Client in my Action:
com.sogyo.ejbxml.client.Client client = new
com.sogyo.ejbxml.client.Client();

As a Test i created a Test.java which uses this line and it alll works well.

When i do Build init there is no compilation error and i put the jar-file in
the classpath. But when i click on the button that invokes the action i get
a InvocationTargetException:
[Thu Jun 14 10:56:54 CEST 2001] -- ERROR -- Turbine.handleException: null
[Thu Jun 14 10:56:54 CEST 2001] -- ERROR --
 Exception:  java.lang.reflect.InvocationTargetException
 Stack Trace follows:
 java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError: com/sogyo/ejbxml/client/Client
 at org.sogyo.test.modules.actions.EjbTest.doCreate(EjbTest.java:83)

What am i not seeing?

Maarten



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to