For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > March 2006 > java.lang.NoClassDefFoundError when calling method from EJB









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author java.lang.NoClassDefFoundError when calling method from EJB
spaolini@stny.rr.com

2006-03-20, 6:58 pm

I have a java app that runs on Websphere 6.0 and I needed a way to run
a scheduled task once a day that sends out emails. I used the
following link from IBM's site to develop a stateless EJB session bean
that ran the WAS task scheduler.

http://publib.boulder.ibm.com/infoc...edulebtask.html

I placed a call in the implemented process method (just like the
example says) to a non-EJB method and I get a
java.lang.NoClassDefFoundError error on the method I am tryign to call.

I'm new to EJB so I'm not sure if you can even make a call from an EJB
to a normal (non-EJB) method. Any help would be appreciated.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com