dcsimg
Error on Import javax.ejb
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sandeep_pathuri
Posted On:   Tuesday, June 6, 2006 08:53 AM

I am getting "The import javax.ejb cannot be resolved" Error. I have set the Java_home variable and also added the j2ee.jar in the class path. Is there anything else I should do. This is my simple code: package testPackage; import javax.ejb.EJBObject; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } Please help me resolve this....    More>>

I am getting "The import javax.ejb cannot be resolved" Error.


I have set the Java_home variable and also added the j2ee.jar in the class path.


Is there anything else I should do.


This is my simple code:


package testPackage;


import javax.ejb.EJBObject;


public class HelloWorld {



public static void main(String[] args) {
System.out.println("Hello World");


}


}


Please help me resolve this....

   <<Less

Re: Error on Import javax.ejb

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, June 6, 2006 07:19 PM

I'm not sure the CLASSPATH env var is used to resolve compilation dependencies. Have you added the jar file to the project settings? (project - properties - java build path - libraries... or something like that)
About | Sitemap | Contact