1 Reply Latest reply on Mar 5, 2005 12:33 PM by Kabir Khan

    cant get it going ! help

    Paul Fewlass Newbie

      sorry to be a pathetic newby but I cant get it going : - I have installed

      JBoss 4.0.1sp1
      EJB 3.0 Preview 4 (and carried out installation instructions)
      Java 5 (when I type java -version the output is :- 1.5.0_01)

      I set ant_ home to C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateful

      and then with JBoss 4.0.1sp1 running typed in command prompt:-

      C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateful> set PATH=..\ant\bin;%PATH%

      then : ant

      I keep getting error messages saying:-

      C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless>ant
      Buildfile: build.xml

      prepare:

      compile:
      [javac] Compiling 5 source files to C:\jboss-EJB-3.0_Preview_4\docs\tutorial
      \stateless\build\classes
      [javac] C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless\src\org\jboss\tut
      orial\stateless\bean\CalculatorBean.java:11: illegal character: \64
      [javac] @Stateless
      [javac] ^
      [javac] C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless\src\org\jboss\tut
      orial\stateless\bean\CalculatorLocal.java:11: illegal character: \64
      [javac] @Local
      [javac] ^
      [javac] C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless\src\org\jboss\tut
      orial\stateless\bean\CalculatorRemote.java:11: illegal character: \64
      [javac] @Remote
      [javac] ^
      [javac] 3 errors

      BUILD FAILED
      file:C:/jboss-EJB-3.0_Preview_4/docs/tutorial/stateless/build.xml:53: Compile fa
      iled; see the compiler error output for details.


      any ideas please