No I don’t get any other (maven) errors Von: m2e-users-boun...@eclipse.org [mailto:m2e-users-boun...@eclipse.org] Im Auftrag von Anton Tanasenko Gesendet: Mittwoch, 16. Dezember 2015 11:16 An: Maven Integration for Eclipse users mailing list <m2e-users@eclipse.org> Betreff: Re: [m2e-users] maven-jaxb2-plugin:
Looking at the error message in the gist [1], it seems that org.glassfish.jaxb:jaxb-core jar is not added to the class realm for some reason. Does m2e report any other errors (about unresolved jaxb-core dependency in particular)? [1] https://gist.github.com/cptwunderlich/b088e8e5d6116084ba94 2015-12-16 12:15 GMT+02:00 Benjamin Maurer <benjamin.mau...@dataphone.at<mailto:benjamin.mau...@dataphone.at>>: No no. I have JDK7 and 8 installed. Source is compiled with 7, not sure which one Eclipse uses, but Java 8 is on my path and ist he standard VM. -----Ursprüngliche Nachricht----- Von: m2e-users-boun...@eclipse.org<mailto:m2e-users-boun...@eclipse.org> [mailto:m2e-users-boun...@eclipse.org<mailto:m2e-users-boun...@eclipse.org>] Im Auftrag von Jochen Wiedmann Gesendet: Mittwoch, 16. Dezember 2015 11:13 An: Maven Integration for Eclipse users mailing list <m2e-users@eclipse.org<mailto:m2e-users@eclipse.org>> Betreff: Re: [m2e-users] maven-jaxb2-plugin: You aren't using JDK9, are you? On Wed, Dec 16, 2015 at 10:59 AM, Benjamin Maurer <benjamin.mau...@dataphone.at<mailto:benjamin.mau...@dataphone.at>> wrote: > Hi all, > > I’m having issues with M2E and the maven-jaxb2-plugin > (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin). > > > > Running the build from the command line works just fine, but in > Eclipse I get an Error: > > > > Execution default of goal > org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate failed: A > required class was missing while executing > org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate: > com/sun/xml/bind/api/ErrorListener > > … > > > > I’m not sure if this is an issue with the plugin, m2e, or with my > setup (although that is a vanilla Eclipse Mars 4.5.1 + M2e > 1.6.2.20150902-0002) > > > > There are more details, including the full stacktrace in this github issue: > > https://github.com/highsource/maven-jaxb2-plugin/issues/69 > > > > The plugin does have an M2e lifecycle mapping, AFAIK. > > > > I can suppress the error with a lifecycle mapping in my pom, with > <runOnIncremental>false</runOnIncremental> > > But then it won’t generate he sources and I get Eclipse errors for my > code… > > > > Regards, > > Ben > > > _______________________________________________ > m2e-users mailing list > m2e-users@eclipse.org<mailto:m2e-users@eclipse.org> > To change your delivery options, retrieve your password, or > unsubscribe from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg _______________________________________________ m2e-users mailing list m2e-users@eclipse.org<mailto:m2e-users@eclipse.org> To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users _______________________________________________ m2e-users mailing list m2e-users@eclipse.org<mailto:m2e-users@eclipse.org> To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users -- Regards, Anton.
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users