This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes here is an error when I load in javax.ejb.*;what can do?? 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 » XML and Related Technologies
Bookmark "here is an error when I load in javax.ejb.*;what can do??" Watch "here is an error when I load in javax.ejb.*;what can do??" New topic
Author

here is an error when I load in javax.ejb.*;what can do??

Mianfei Xie
Greenhorn

Joined: Sep 15, 2006
Posts: 5
my develop enviroment is windows. and the PATH=%JAVA_HOME%\bin;
and CLASSPATH=%JAVA_HOME%\lib(both the jdk1.5 and j2eesdk I have installed) ;

but the IDE often says it cann't find the javax.ejb.* packege;

why?
who can tell me!!
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30057
    
149

Mianfei,
Which IDE are you using? Is j2ee.jar in the classpath?

For the future, note we have a forum for IDE questions.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mianfei Xie
Greenhorn

Joined: Sep 15, 2006
Posts: 5
yeal.
I have used both eclipse and netbeans.
also ,in my classpath, it contains j2ee.jar;

but it cann't work .
that troubles me a long time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: here is an error when I load in javax.ejb.*;what can do??
 
Similar Threads
Where are javax.ejb packages
My netbeans 6.0.1 cannot recognize package javax.ejb
what's wrong with my ejb package??
My netbeans 6.0.1 cannot recognize package javax.ejb
HFEJB AdviceClient.java Compilation Error