5 Replies Latest reply on Jul 31, 2006 10:40 PM by Gavin King

    seam deployment error in JBOSS 404

    Shahruk Niazi Newbie

      I need som help pls. I have installed JBOSS AS 4.0.4.GA with the EJB 3.0

      C:\jboss-4.0.4.GA

      C:\jboss-4.0.4.GA\jboss-EJB-3.0_RC8-FD

      as well as seam application

      C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA

      As per the docs, i have modified the modified the build.properties . Here is the content
      ==========
      tomcat.home = C:\\Tomcat5.5"
      jboss.home = C:\\jboss-4.0.4.GA"
      jbossHasMyFacesLifecycleBug = true
      ===========
      started up JBOSS ran.bat

      In the "examples/booking" directory, I type "ant deploy , but when i do that i get the following . Can someone help

      ===========


      C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking>ant build
      Buildfile: build.xml

      init:
      [echo] Build Seam on JBoss Booking Example 1.0

      compile:
      [javac] Compiling 23 source files to C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\e
      xamples\booking\build\classes
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:22: illegal character: \64
      [javac] @Entity
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:23: illegal character: \64
      [javac] @Name("booking")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:46: illegal character: \64
      [javac] @Id @GeneratedValue
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:46: illegal character: \64
      [javac] @Id @GeneratedValue
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:56: illegal character: \64
      [javac] @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:57: illegal character: \64
      [javac] @Basic @Temporal(TemporalType.DATE)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:57: illegal character: \64
      [javac] @Basic @Temporal(TemporalType.DATE)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:67: illegal character: \64
      [javac] @ManyToOne @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:67: illegal character: \64
      [javac] @ManyToOne @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:77: illegal character: \64
      [javac] @ManyToOne @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:77: illegal character: \64
      [javac] @ManyToOne @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:87: illegal character: \64
      [javac] @Basic @Temporal(TemporalType.DATE)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:87: illegal character: \64
      [javac] @Basic @Temporal(TemporalType.DATE)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:88: illegal character: \64
      [javac] @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:98: illegal character: \64
      [javac] @NotNull(message="Credit card number is required")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:99: illegal character: \64
      [javac] @Length(min=16, max=16, message="Credit card number must 16 digit
      s long")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:100: illegal character: \64
      [javac] @Pattern(regex="^\\d*$", message="Credit card number must be nume
      ric")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:111: illegal character: \64
      [javac] @Transient
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:139: illegal character: \64
      [javac] @NotNull(message="Credit card name is required")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:140: illegal character: \64
      [javac] @Length(min=3, max=70, message="Credit card name is required")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Booking.java:175: expected
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingList.java:6: illegal character: \64
      [javac] @Local
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:4: expected
      [javac] import static javax.ejb.TransactionAttributeType.REQUIRES_NEW;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:4: '.' expected
      [javac] import static javax.ejb.TransactionAttributeType.REQUIRES_NEW;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:5: expected
      [javac] import static org.jboss.seam.ScopeType.SESSION;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:5: '.' expected
      [javac] import static org.jboss.seam.ScopeType.SESSION;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:29: illegal character: \64
      [javac] @Stateful
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:30: illegal character: \64
      [javac] @Scope(SESSION)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:31: illegal character: \64
      [javac] @Name("bookingList")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:32: illegal character: \64
      [javac] @LoggedIn
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:33: illegal character: \64
      [javac] @TransactionAttribute(REQUIRES_NEW)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:37: illegal character: \64
      [javac] @PersistenceContext
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:38: expected
      [javac] private EntityManager em;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:40: illegal character: \64
      [javac] @In
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:41: expected
      [javac] private User user;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:43: illegal character: \64
      [javac] @DataModel
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:44: expected
      [javac] private List bookings;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:45: illegal character: \64
      [javac] @DataModelSelection
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:46: illegal character: \64
      [javac] @Out(required=false)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:47: expected
      [javac] private Booking booking;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:49: illegal character: \64
      [javac] @Logger private Log log;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:49: expected
      [javac] @Logger private Log log;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:51: illegal character: \64
      [javac] @Factory
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:52: illegal character: \64
      [javac] @Observer("bookingConfirmed")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:63: expected
      [javac] Booking cancelled = em.find(Booking.class, booking.getId());
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:63: expected
      [javac] Booking cancelled = em.find(Booking.class, booking.getId());
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:63: '{' expected
      [javac] Booking cancelled = em.find(Booking.class, booking.getId());
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:64: illegal start of type
      [javac] if (cancelled!=null) em.remove( cancelled );
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:64: expected
      [javac] if (cancelled!=null) em.remove( cancelled );
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:31: illegal character: \64
      [javac] @Name("bookingList")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:32: illegal character: \64
      [javac] @LoggedIn
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:33: illegal character: \64
      [javac] @TransactionAttribute(REQUIRES_NEW)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:37: illegal character: \64
      [javac] @PersistenceContext
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:38: expected
      [javac] private EntityManager em;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:40: illegal character: \64
      [javac] @In
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:41: expected
      [javac] private User user;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:43: illegal character: \64
      [javac] @DataModel
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:44: expected
      [javac] private List bookings;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:45: illegal character: \64
      [javac] @DataModelSelection
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:46: illegal character: \64
      [javac] @Out(required=false)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:47: expected
      [javac] private Booking booking;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:49: illegal character: \64
      [javac] @Logger private Log log;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:49: expected
      [javac] @Logger private Log log;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:51: illegal character: \64
      [javac] @Factory
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:52: illegal character: \64
      [javac] @Observer("bookingConfirmed")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:63: expected
      [javac] Booking cancelled = em.find(Booking.class, booking.getId());
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:63: expected
      [javac] Booking cancelled = em.find(Booking.class, booking.getId());
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:63: '{' expected
      [javac] Booking cancelled = em.find(Booking.class, booking.getId());
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:64: illegal start of type
      [javac] if (cancelled!=null) em.remove( cancelled );
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:64: expected
      [javac] if (cancelled!=null) em.remove( cancelled );
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:65: invalid method declaration; ret
      urn type required
      [javac] getBookings();
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:66: expected
      [javac] FacesMessages.instance().add("Booking cancelled for confirmati
      on number #{booking.id}");
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:67: illegal start of type
      [javac] return "main";
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:67: expected
      [javac] return "main";
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:70: illegal character: \64
      [javac] @Destroy @Remove
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:70: illegal character: \64
      [javac] @Destroy @Remove
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\BookingListAction.java:72: expected
      [javac]
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePassword.java:6: illegal character: \64
      [javac] @Local
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:4: expected
      [javac] import static org.jboss.seam.ScopeType.EVENT;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:4: '.' expected
      [javac] import static org.jboss.seam.ScopeType.EVENT;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:18: illegal character: \64
      [javac] @Stateful
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:19: illegal character: \64
      [javac] @Scope(EVENT)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:20: illegal character: \64
      [javac] @Name("changePassword")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:21: illegal character: \64
      [javac] @LoggedIn
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:25: illegal character: \64
      [javac] @In @Out
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:25: illegal character: \64
      [javac] @In @Out
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:26: expected
      [javac] private User user;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:28: illegal character: \64
      [javac] @PersistenceContext
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:29: expected
      [javac] private EntityManager em;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:71: illegal character: \64
      [javac] @Destroy @Remove
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:71: illegal character: \64
      [javac] @Destroy @Remove
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\ChangePasswordAction.java:73: expected
      [javac] }
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:14: illegal character: \64
      [javac] @Entity
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:15: illegal character: \64
      [javac] @Name("hotel")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:26: illegal character: \64
      [javac] @Id @GeneratedValue
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:26: illegal character: \64
      [javac] @Id @GeneratedValue
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:36: illegal character: \64
      [javac] @Length(max=50) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:36: illegal character: \64
      [javac] @Length(max=50) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:46: illegal character: \64
      [javac] @Length(max=100) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:46: illegal character: \64
      [javac] @Length(max=100) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:56: illegal character: \64
      [javac] @Length(max=40) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:56: illegal character: \64
      [javac] @Length(max=40) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:66: illegal character: \64
      [javac] @Length(min=4, max=6) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:66: illegal character: \64
      [javac] @Length(min=4, max=6) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:76: illegal character: \64
      [javac] @Length(min=2, max=10) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:76: illegal character: \64
      [javac] @Length(min=2, max=10) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:86: illegal character: \64
      [javac] @Length(min=2, max=40) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:86: illegal character: \64
      [javac] @Length(min=2, max=40) @NotNull
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\Hotel.java:101: expected
      [javac] }
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBooking.java:6: illegal character: \64
      [javac] @Local
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:4: expected
      [javac] import static javax.persistence.PersistenceContextType.EXTENDED;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:4: '.' expected
      [javac] import static javax.persistence.PersistenceContextType.EXTENDED;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:25: illegal character: \64
      [javac] @Stateful
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:26: illegal character: \64
      [javac] @Name("hotelBooking")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:27: illegal character: \64
      [javac] @Conversational(ifNotBegunOutcome="main")
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:28: illegal character: \64
      [javac] @LoggedIn
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:32: illegal character: \64
      [javac] @PersistenceContext(type=EXTENDED)
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:33: expected
      [javac] private EntityManager em;
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:35: illegal character: \64
      [javac] @In(required=false) @Out
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:35: illegal character: \64
      [javac] @In(required=false) @Out
      [javac] ^
      [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss
      \seam\example\booking\HotelBookingAction.java:36: expected
      [javac] private Hotel hotel;
      [javac] ^
      [javac] 100 errors
      [javac] 10 warnings

      BUILD FAILED
      C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\build.xml:310: Compile failed; see the com
      piler error output for details.

      Total time: 28 seconds
      C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking>