NoClassDefFoundError when executing from client

D

Duane

I'm getting NoClassDefFoundError: AcmeXMLHelper where AcmeXMLHelper is
the app. on the server which I'm trying to run from AcmeClient.
The client starts AcmeSessionBean fine, but when AcmeSessionBean tries to
instantiate AcmeXMLHelper, it fails.
Could anyone give me some ideas on where to look for the problem.

AcmeSessionBean.java:
package ejb;
....
import xmlhelper.AcmeXMLHelper;
public class AcmeSessionBean implements SessionBean {
....
public String getProduct(in productID) {
try {
System.out.println("starting Bean method");
AcmeXMLHelper axh = new AcmeXMLHelper(); // exception occurs
System.out.println("got AcmeXMLHelper");
return axh.getProductXMLasString(productID);
} catch (Exception e) {
throw new EJBException(e.getMessage());
}
}
...


my files are:
serverclasses/xmlhelper/AcmeXMLHelper.class
clientclasses/xmlhelper/AcmeXMLHelper.class
ejb/AcmeSessionBean.class in statelessjb.jar in autodeploy/statelessjb.ear
clientclasses/ejb/AcmeClient.class
plus more...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,696
Latest member
BarbraOLog

Latest Threads

Top