Re: javax.xml.bind.annotation issue with Karaf-4.2.5 with Java-8

2019-05-29 Thread Freeman Fang
Hi Erwin, Actually you can always specify jaxb version like javax.xml.bind*;version=“[2,3)”, in your bundle pom.xml maven-bundle-plugin configuration, to make it work both with jaxb2.2 and 2.3 Cheers - Freeman(Yue) Fang Red Hat, Inc. > On May 29, 2019, at 9:42 PM, Erwin

Re: javax.xml.bind.annotation issue with Karaf-4.2.5 with Java-8

2019-05-29 Thread Erwin Hogeweg
Hi Stephan, Christian - Thanks for your replies. My issue was that the same set of bundles compile and run just fine with Karaf 4.2.0, but when I compile with ref. to Karaf-4.2.5 I get this jaxb 2.3.0 dependency error. It appears that the jaxb 2.3.0 dependency is pulled in during compilation

RE: javax.xml.bind.annotation issue with Karaf-4.2.5 with Java-8

2019-05-28 Thread Siano, Stephan
Hi Erwin, the problem is that Java 8 does not contain JAXB 2.3.0 (but 2.2.8). So there are actually two things to consider: 1. Does your application really need JAXB 2.3.0. If it does it might be challenging to run that on Java 8 (as you will also need a JAXB implementation that implements

Re: javax.xml.bind.annotation issue with Karaf-4.2.5 with Java-8

2019-05-28 Thread Christian Lutz
Hello Erwin, in my case it was because I used CXF 3.3.2 with OpenApi. In your case another dependency may be the reason. kind regards Christian > Am 28.05.2019 um 00:48 schrieb Erwin Hogeweg : > > All - > > I am pretty sure I have seen a discussion here re. Karaf, >