4 Replies Latest reply on Jun 2, 2011 10:23 AM by leon z

    where is the jar file for javax.annotation.EJB in Jboss 6.0

    leon z Newbie

      trying to compile the ejb 3.0 example and got the following exception


      Jdk 1.6

      jboss 6 final


      build.xml:53: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

          [javac] Compiling 25 source files to //ex15_1/build/classes

          [javac] src/main/com/titan/travelagent/TravelAgentBean.java:7: cannot find symbol

          [javac] symbol  : class EJB

          [javac] location: package javax.annotation

          [javac] import javax.annotation.EJB;

          [javac]                        ^

          [javac] Note: /src/main/com/titan/domain/Reservation.java uses unchecked or unsafe operations.

          [javac] Note: Recompile with -Xlint:unchecked for details.

          [javac] 1 error


      Thanks for your help.