File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply 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: 3359

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
EJB using Jboss-IDE 1.6
Can't run -verbose or deploytool
import org.apache.commons. can not be resolved
J2ee.jar in WEB-INF/lib or not ?
need help with running the client for HFEJB's 1st example