https://bz.apache.org/bugzilla/show_bug.cgi?id=70040
--- Comment #1 from Heiko <[email protected]> --- We have problems with running Jersey, due to org.osgi.framework.BundleReference is now in the webapp-classpath (in the migration-jar 1.0.10) and therefore Jersey assumes it is running in an OSGI-Environment, but it doesn't. Error-Details: Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: org/osgi/framework/SynchronousBundleListener [in thread "ThreadPoolTaskExecutor-1"] at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2359) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2224) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:811) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1338) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1186) at org.glassfish.jersey.internal.util.ReflectionHelper.getOsgiRegistryInstance(ReflectionHelper.java:1481) at org.glassfish.jersey.internal.ServiceFinder.<clinit>(ServiceFinder.java:142) at org.glassfish.jersey.client.ClientConfig$State.<init>(ClientConfig.java:142) at org.glassfish.jersey.client.ClientConfig.<init>(ClientConfig.java:496) at org.glassfish.jersey.client.JerseyClientBuilder.<init>(JerseyClientBuilder.java:74) As i can see the problem is already addressed and fixed four days ago in the migration-jar 1.0.11: https://github.com/apache/tomcat-jakartaee-migration/commit/1e10747857220a4f8e02cbb1d298d3c9a059ec39 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
