Hi. I'm getting
java.lang.NoSuchMethodError:
com.sun.xml.bind.DatatypeConverterImpl._parseInteger(Ljava/lang/CharSequence;)Ljava/math/BigInteger;
My ant file is
<project default="compile">
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
<classpath>
<fileset dir="jaxb-ri/lib">
<include name="jaxb-xjc.jar" />
<include name="jaxb-impl.jar" />
</fileset>
</classpath>
</taskdef>
<target name="compile">
<mkdir dir="gen-src" />
<xjc schema="src/spinoff.xsd" package="mytest" destdir="gen-src">
<produces dir="gen-src" includes="**/*.java" />
</xjc>
</target>
</project>
It's strange, because jaxb-impl.jar does contain
com.sun.xml.bind.DatatypeConverterImpl._parseInteger
I also tried
<classpath>
<fileset dir="jaxb-ri/lib" includes="*.jar"/>
</classpath>
as in the samples, but get the same error.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]