wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 3476

Just make sure EJB jar file (whether it is j2ee.jar or something else) is included in the CLASSPATH of Eclipse project.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.import cannot be resolved
 
Similar Threads
Can't run -verbose or deploytool
EJB using Jboss-IDE 1.6
need help with running the client for HFEJB's 1st example
import org.apache.commons. can not be resolved
J2ee.jar in WEB-INF/lib or not ?