You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Fabien Couble <fa...@capgemini.com> on 2006/07/26 10:43:50 UTC

[AXIS2] compiltation error

Hi,
I have a problem to compile the latest nightly. The following error occurs:
    [javac] Compiling 1 source file to D:\axis2-nightly\modules\jaxbri\target\cl
asses
    [javac] D:\axis2-nightly\modules\jaxbri\src\org\apache\axis2\jaxbri\CodeGene
rationUtility.java:19: cannot access com.sun.codemodel.JCodeModel
    [javac] bad class file: C:\Documents and Settings\fcouble\.maven\repository\
com.sun.xml.bind\jars\jaxb-xjc-2.0.1.jar(com/sun/codemodel/JCodeModel.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of
 the classpath.
    [javac] import com.sun.codemodel.JCodeModel;
    [javac]                          ^
    [javac] 1 error

BUILD FAILED
File...... C:\Documents and Settings\fcouble\.maven\cache\maven-multiproject-plu
gin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settin
gs\fcouble\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48: <ant:javac> Co
mpile failed; see the compiler error output for details.
Total time: 4 minutes 47 seconds
Finished at: Wed Jul 26 10:21:38 CEST 2006

Where can I get the right jar?

Thx
Fabien

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

Re: [AXIS2] compiltation error

Posted by Fabien Couble <fa...@capgemini.com>.

Which version of jaxb-xjc should I take?
It must NOT be the version 2.0.1!!! Am I right?

  ----- Original Message ----- 
  From: Fabien Couble 
  To: axis-user@ws.apache.org 
  Sent: Wednesday, July 26, 2006 10:43 AM
  Subject: [AXIS2] compiltation error


  Hi,
  I have a problem to compile the latest nightly. The following error occurs:
      [javac] Compiling 1 source file to D:\axis2-nightly\modules\jaxbri\target\cl
  asses
      [javac] D:\axis2-nightly\modules\jaxbri\src\org\apache\axis2\jaxbri\CodeGene
  rationUtility.java:19: cannot access com.sun.codemodel.JCodeModel
      [javac] bad class file: C:\Documents and Settings\fcouble\.maven\repository\
  com.sun.xml.bind\jars\jaxb-xjc-2.0..1.jar(com/sun/codemodel/JCodeModel.class)
      [javac] class file has wrong version 49.0, should be 48.0
      [javac] Please remove or make sure it appears in the correct subdirectory of
   the classpath.
      [javac] import com.sun.codemodel.JCodeModel;
      [javac]                          ^
      [javac] 1 error

  BUILD FAILED
  File...... C:\Documents and Settings\fcouble\.maven\cache\maven-multiproject-plu
  gin-1.3.1\plugin.jelly
  Element... maven:reactor
  Line...... 217
  Column.... 9
  Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settin
  gs\fcouble\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48: <ant:javac> Co
  mpile failed; see the compiler error output for details.
  Total time: 4 minutes 47 seconds
  Finished at: Wed Jul 26 10:21:38 CEST 2006

  Where can I get the right jar?

  Thx
  Fabien
        This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

       


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.