On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development < webservices_developm...@csx.com> wrote:
> P.S - I tried adding includejavaruntime="false" and > includeantruntime="false" attributes - both together as well as > individually - to the javac task - but I still get the error. The error > is - createBinder() in ObjectFactory cannot override createBinder() in > JAXBContext > Did you fork="true" too, for <javac>? That way you can have better control of the environment the JDK javac (implemented in Java) runs with, separate the from environment Ant itself runs in. Also look into http://docs.oracle.com/javase/6/docs/technotes/guides/standards/ A quick Google also turned up http://stackoverflow.com/questions/16215409/is-it-possible-to-replace-the-version-of-the-jaxb-implementation-in-java-jre-1-6 --DD