8 Replies Latest reply on Aug 16, 2006 8:10 AM by Rodrigo Martinez Heredia

    Compiler wrong?

    Rodrigo Martinez Heredia Newbie

      Hi. I hope this is the right forum but anyway I have a problem trying to run JBOSS, because the JAVA_HOME and JBOSS_HOME are well set, however when I run ant it appears the following : (by the way the OS is MAC OS X)
      :

      dup-148-221-108-165:~/desktop/workbook rodrigomartinezheredia$ cd ex04_1
      dup-148-221-108-165:~/desktop/workbook/ex04_1 rodrigomartinezheredia$ ant
      Buildfile: build.xml

      prepare:

      compile:
      [javac] Compiling 4 source files to /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build/classes
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:8: illegal character: \64
      [javac] @Entity
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:9: illegal character: \64
      [javac] @Table(name="CABIN")
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:18: illegal character: \64
      [javac] @Id
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:19: illegal character: \64
      [javac] @Column(name="ID")
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:29: illegal character: \64
      [javac] @Column(name="NAME")
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:39: illegal character: \64
      [javac] @Column(name="DECK_LEVEL")
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:49: illegal character: \64
      [javac] @Column(name="SHIP_ID")
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:59: illegal character: \64
      [javac] @Column(name="BED_COUNT")
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/domain/Cabin.java:68: expected
      [javac] }
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/travelagent/TravelAgentBean.java:9: illegal character: \64
      [javac] @Stateless
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/travelagent/TravelAgentBean.java:12: illegal character: \64
      [javac] @PersistenceContext(unitName="titan") private EntityManager manager;
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/travelagent/TravelAgentBean.java:12: expected
      [javac] @PersistenceContext(unitName="titan") private EntityManager manager;
      [javac] ^
      [javac] /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/src/main/com/titan/travelagent/TravelAgentRemote.java:7: illegal character: \64
      [javac] @Remote
      [javac] ^
      [javac] 13 errors

      BUILD FAILED
      /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build.xml:54: Compile failed; see the compiler error output for details.


      I guess is the compiler but how can I repair the problem?,I think all is set thanks by the way