3 Replies Latest reply on Mar 21, 2006 4:18 AM by tim.cockle

    Problem with embedded EJB3 and JUnit tutorial


      Hi all,

      I have down loaded the EJB3 JUnit tutorial (from http://docs.jboss.org/ejb3/embedded/embedded-tutorial/test-with-junit/) but I seem to have and error. I am guessing it there is a version problem as I get the following:
      [javac] Compiling 1 source file to /home/tim/workspace/jboss4junittest/build/classes
      [javac] /home/tim/workspace/jboss4junittest/src/code/org/jboss/tutorial/junit/EmbeddedEjb3TestCase.java:74: cannot find symbol
      [javac] symbol : method scanClasspath()
      [javac] location: class org.jboss.ejb3.embedded.EJB3StandaloneBootstrap
      [javac] EJB3StandaloneBootstrap.scanClasspath();
      [javac] ^
      [javac] Note: /home/tim/workspace/jboss4junittest/src/code/org/jboss/tutorial/junit/EmbeddedEjb3TestCase.java uses unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 1 error

      Does anyone know why this happens and how to solve it?