I must use manual means for adding no-ejb class to jar.
how to do?
***********************************************
I call a no-ejb class's method in
ejb method,
import a.wu;
.....
public void bean_method()
{
wu k=new wu();
k.show();
}
..........
complie success,but in runTIME, throws
java.rmi.RemoteException: EJB Exception: ;
nested exception is: java.lang.NoClassDefFoundError: a/wu��
( NOTE: you must konw classpath of Class a.wu have already been set,complie success )
by liang sun
Kyle Brown
bartender posted November 09, 2001 09:28 AM
--------------------------------------------------------------------------------
It doesn't matter that you can compile the class -- that's a different classpath.
Make sure that your a.wu class is included inside the EJB JAR file along with your EJB classes and it should work fine.
Kyle
------------------
Kyle Brown,
******************************