Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBs not compiling...plz help  RSS feed

 
Z Zia
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have created a 1 Enterprise Bean class and 2 Interfaces. When I issue the javac against them; the compiler don't get

1. javax.ejb.*; // can't resolve symbol
2. Same message for rest of objects like EJBObject e.t.c

My configurations are below:

1. J2SE version 1.4.1_02, installed at: C:\j2sdk1.4.1_02
2. J2EE version 1.4, installed at: C:\sun\AppServer
3. These Environment variables are set PATH, J2EE_HOME, JAVA_HOME
4. I can issue java, javac, and deploytool command at dos prompt successfully.

Please help
Regards,
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to include j2ee.jar in your classpath.
you can found it under :
%J2EE_HOME%\lib dir
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!