jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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

Using Jboss/Ant cannot find javax.ejb

Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66

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
[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!!!

subject: Using Jboss/Ant cannot find javax.ejb
Similar Threads
Cant compile the struts application withEclispse 3.4
java.lang.No Class Def Found Error
EJB compilation - import javax.ejb.*; not found.
errors generated when running Ant build file in Eclipse