Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

weblogic.ejbc classpath error

Status
Not open for further replies.

Nosh

Programmer
Jul 12, 2001
34
GB
Hi Folks,

I am trying to compile my ejb jar file so far with no sucess. Does anybody have any idea what the following error means?

<21-Sep-01 18:23:33 BST> <Error> <EJB> <EJB Deployment: ESMyAccount has a class
com.bt.eStores.service.myAccount.ESMyAccountBean which is in the classpath. This
class should only be located in the ejb-jar file.>

It's the the ejb-jar.xml file I'm not sure what they mean when they say it is in the classpath??

Cheers

Nosh
 
Is a warning or an error? Are you using the ejbc utility.

Basically the EJB classes should not be in the System CLASSPATH when using or deploying EJBs (as could be the case when developing). Ejbc is basically complaining because it is finding multiple versions of the same class and it is not sure which one it should use. By taking the EJB stuff off the System and/or WebLogic CLASSPATH you should solve your problem. Wushutwist
 
I am using EJBC and it is an error.

I have checked my classpath and I can't find any evidence that these classes exist anywhere on it.

I have checked every part of the classpath and can't find anything - should I be looking elsewhere?

Cheers
Nosh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top