Re: An API incompatibility was encountered while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: java.lang.NoSuchMethodError:

2014-03-15 Thread Anders Hammar
Could you try the recently release 1.6 version? If it also fails, please file an issue ticket [1] and provide a small project that can be used to reproduce the issue. /Anders [1] https://jira.codehaus.org/browse/MJAXB On Thu, Mar 13, 2014 at 11:29 PM, blipsman wrote: > I found solution: > To

Re: An API incompatibility was encountered while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: java.lang.NoSuchMethodError:

2014-03-13 Thread blipsman
I found solution: To eliminate problem, which was to enforce using JAXB 2.1 ( which is included in JAVA 6) , but not JAXB 2.2 I have added to the parent POM: * org.codehaus.mojo jaxb2-maven-plugin 1.5

An API incompatibility was encountered while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: java.lang.NoSuchMethodError:

2014-03-13 Thread blipsman
: javax.xml.bind.annotation.XmlElementRef.required() -> [Help 1]* Eclipse displays error as well:*Execution profileXYZ of goal org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc failed: An API incompatibility was encountered while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: java.lang.NoSuchMethodError:* in Ecli