[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

despontao do-not-reply at jboss.com
Wed Jul 30 11:10:33 EDT 2008


Hello everybody, 
I tried to download and ant the ex04_1 example, but this is the result. 


  | C:\workbook2\ex04_1>ant
  | Buildfile: build.xml
  | 
  | prepare:
  |     [mkdir] Created dir: C:\workbook2\ex04_1\build
  |     [mkdir] Created dir: C:\workbook2\ex04_1\build\classes
  | 
  | compile:
  |     [javac] Compiling 5 source files to C:\workbook2\ex04_1\build\classes
  |     [javac] C:\workbook2\ex04_1\src\main\com\titan\cabin\CabinBean.java:3: canno
  | t access javax.ejb.EntityContext
  |     [javac] bad class file: c:\jboss-4.2.2.GA\client\jboss-j2ee.jar(javax/ejb/En
  | tityContext.class)
  |     [javac] class file has wrong version 49.0, should be 47.0
  |     [javac] Please remove or make sure it appears in the correct subdirectory of
  |  the classpath.
  |     [javac] import javax.ejb.EntityContext;
  |     [javac]                  ^
  |     [javac] 1 error
  | 
  | BUILD FAILED
  | C:\workbook2\ex04_1\build.xml:45: Compile failed; see the compiler error output
  | for details.
  | 
  | Total time: 6 seconds
  | 
  | 

any suggestion? what is my mistake?

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

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



More information about the jboss-user mailing list