Hi !

Got a very basic question which may not be appropriate for this list, so
please redirect me to a more "newbies" list if you find this question
inappropriate.

So here it is, I have a com.zb.ejbs.scenarios.SMbsBean which is a session
bean. It has the method getMbsMetaData(String) which returns a MbsMetaData
instance. The MbsMetaData class is in com.zb.api.scenarios . Now, I import
the class in the session bean, everything is all right. But when I compile,
I get the error :

"zbejb.ejbgrp": Stateless Session Bean: "SMbsBean" The interface:
com.zerobase.zbejb.scenarios.SMbs defines a method using an undefined type:
java.lang.NoClassDefFoundError: com/zerobase/api/scenarios/MbsMetaData
.

In the books I've read, it says that this MbsMetaData class should be in my
jar file, since it is a dependent class. Which I did (I am using Borland
JBuilder 4.5) : when I generate the jar, the package containing my dependent
classes is in it. But now I do not know what to do next. Is there something
I should do in my Deployment Descriptot to tell it where to find my
dependent classes ?

OH, btw, my class is serializable.

It is almost a shame to ask that kind of questions after 5 years in Java,
sorry if it was not appropriate for this list.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to