[jboss-user] [EJB 3.0] - Compiler wrong?

Rockym do-not-reply at jboss.com
Mon Aug 14 23:22:28 EDT 2006


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 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965163#3965163

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965163



More information about the jboss-user mailing list