• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ERROR: ejbc couldn't invoke compiler

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic