Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Error Compiling EJBs from command prompt

Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
While compiling EJB classes from command prompt I am getting these errors:
package javax.ejb does not exist
cannot resolve symbol EJBObject
and so on.
I beleive this means necessary jar files containing these package/classes are missing in the CLASSPATH variable.
I have opened all the jar files that are under my J2EE installation directory but could not find one that has javax.ejb package in it.
As someone adviced I also tried running setEnv.bat file. But it did not help.
Any help is greatly appreciated.
Thank you,
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
run the setEnv script before compiling the ejb's, it'll put weblogic classes under classpath and u problably won't get this errors anymore.
in time: the setEnv is placed under any domain u create for weblogic 6, 7 or 8...
    Bookmark Topic Watch Topic
  • New Topic