permaculture playing cards*
The moose likes IDEs, Version Control and other tools and the fly likes javax.import cannot be resolved Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "javax.import cannot be resolved" Watch "javax.import cannot be resolved" New topic
Author

javax.import cannot be resolved

abhi pawar
Greenhorn

Joined: Jul 20, 2010
Posts: 1
Hello,

I am using a import : import javax.ejb.*; in eclipse it gives me an error : import javax.ejb cannot be resolved
I will be deploying the application on weblogic server
should I include j2ee.jar in my classpath or add the jar to the lib of my application?
I tried to find j2ee.jar in the weblogic installation folder but couldn't find it.


Thanks
Tim Hagberg
Greenhorn

Joined: Jan 29, 2010
Posts: 12
I believe if you download the J2EE SDK you receive an executable which will place the classes in your JDK, so you shouldn't have to worry about any of that.

Here's the download link for the SDK.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Just make sure EJB jar file (whether it is j2ee.jar or something else) is included in the CLASSPATH of Eclipse project.
 
GeeCON Prague 2014
 
subject: javax.import cannot be resolved