• Post Reply Bookmark Topic Watch Topic
  • New Topic

ERROR: ejbc couldn't invoke compiler

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to ejb, I am not able to invoke ejbc compiler.
I get following error.

ERROR: Error from ejbc:Unable to load a class specified in your
ejb-jar.xml: Demo.cityBean
ERROR: ejbc couldn't invoke compiler

Following listing of my bat file.

city.jar file gets created successfully.

I have compiled .java files using ecllipse editor

Q1) Is there misssing information in classpath?
PLease help me urgently?

Q2)
 
Sumit Malik
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that you have cityBean class in your executing jar...

Also make sure that you have correctly specified cityBean(with proper package) in you ejb-jar.xml file

I hope this would help you in debugging your problem

Cheers !!!
Sumit Malik
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!