my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes Using Jboss/Ant cannot find javax.ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Using Jboss/Ant cannot find javax.ejb" Watch "Using Jboss/Ant cannot find javax.ejb" New topic
Author

Using Jboss/Ant cannot find javax.ejb

Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66
Hello,

I am trying to use Ant with JBOSS and am having a real "newbie"
type problem.

When ant all is typed I get:

[javac] C:\eclipse\workspace\Story\src\teste\Story.java:4: package javax.ejb
does not exist
[javac] import javax.ejb.*;
[javac] ^
[javac] C:\eclipse\workspace\Story\src\teste\Story.java:5: cannot resolve sy
mbol
[javac] symbol : class EJBObject

I have used Sun App Server and the j2ee.jar is in my class path, but JBOSS is independent of Sun products.

What to do ???

Thank you!!!

Ken
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Jboss/Ant cannot find javax.ejb