2 Replies Latest reply on Feb 12, 2003 7:21 PM by Albert


    Albert Newbie

      javax.ejb not existe !!

      I am trying to compile a very small Ejb (HelloWorld), I try every thing i can, no way..I have the same error : Javax.ejb package does not existe.

      I install j2ee,jdsk1.4.1, ant 1.5 and jboss-3.2.0RC1_tomcat-4.1.18..all work well
      Have in my path JAVA_HOME, ANT_Home, J2EE_HOME..

      Please what i'm missing?

      Please help !!

        • 1. Re: jboss-3.2.0RC1_tomcat-4.1.18
          Juha Lindfors Master

          Make sure jboss-j2ee.jar (it's in your JBoss installation client/ directory) is in your classpath when you compile. Get rid of J2EE RI.

          • 2. Re: jboss-3.2.0RC1_tomcat-4.1.18
            Albert Newbie

            Thank's Juha,
            Now I can compile with ANT or if i use
            javac -classpath .....giving JBoss/client/jboss-j2ee.jar
            here is my classpath.


            javac -g Hello.java will throw no ejb package, if the file is not an ejb, then it compiles just fine. I am using windows 2000