hstaudacher / osgi-jax-rs-connector

An OSGi - JAX-RS 2.0 Connector, software repository available on the link below
http://hstaudacher.github.io/osgi-jax-rs-connector
Other
190 stars 98 forks source link

Make jax-rs-connector java 9 compatible #197

Closed doggy-dev closed 5 years ago

doggy-dev commented 5 years ago

While running the connector with java 8 all was fine. Today I tried to start my RCP product with Java 9 and got a lot of exceptions about classes not beeing found. For example:

java.lang.ClassNotFoundException: javax.xml.bind.PropertyException cannot be found by com.eclipsesource.jaxrs.jersey-min_2.22.2 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 65 more

doggy-dev commented 5 years ago

Upgrade of the Eclipse launcher helped to fix the problem. Now using: org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar and org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.500.v20170531-1133