Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

EJB program not compiling

  Asked By: Bonni    Date: Jul 10    Category: Java    Views: 881
  

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.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Julia Flores     Answered On: Jul 10

just go
Programes -> Sun Microsystems -> J2EE 1.4 SDK

u will find all things
dont use J2EE
go with tomcat server

 
Answer #2    Answered By: Jarvia Miller     Answered On: Jul 10

try putting C:\j2sdkee1.2.1\lib\j2ee.jar in env variable classpath...

 
Answer #3    Answered By: Allan Bailey     Answered On: Jul 10

Set the classpath for j2ee.jar or rt.jar and then
compile.

 
Didn't find what you were looking for? Find more on EJB program not compiling Or get search suggestion and latest updates.




Tagged: