Tomcat 9 class loading issue with Jaxb-impl& jaxb-runtime

61
March 03, 2021, at 06:40 AM

Jaxb-api and jaxb-runtime has same package with same class name called RUNTIMEMODELBUILDER.JAVA and same interface with same package Navigator interface.

So one jar is calling other jar class and endup in classnotfound exception...

Any idea how to fix...same issue is not came in tomcat 7...

Answer 1

have you tired
JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --add-modules=java.xml.bind"

the class only available

jaxb-impl-2.2_1.jar

com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.class

READ ALSO
Regular expression that accepts only letters, spaces in between words and hyphens after word

Regular expression that accepts only letters, spaces in between words and hyphens after word

I'm trying to write a regular expression to capture what I mentioned above but for the hyphen part, it seems like it still matches words that start with a hyphen

65
Importing whole SVG images folder from another direction

Importing whole SVG images folder from another direction

I want to import whole folder with my SVG icons from another directionFor now i know how to import a single file one by one

38
Xamarin Android On tab on push notification app not launched if in background or killed

Xamarin Android On tab on push notification app not launched if in background or killed

i am using both notification and data payload for push notificationit is working find if app is running

59