tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject Re: Java 10; JAXB; and Tomcat 9
Date Wed, 02 May 2018 21:37:13 GMT
Le 02/05/2018 à 23:14, Jerry Malcolm a écrit :
> I just did a clean install of TC 9 on a new system.  I downloaded the
> latest JDK, (10).  My code started getting errors about JAXB Exception
> class not found.  I had already faced this with the JAMES installation
> and found out JAXB was removed in Java 9+, but was still available if
> called out.  The forums said to include --add-modules java.xml.bind on
> the Java command line.  This fixed it in JAMES.  But I added this to the
> java options in the TC configuration app and get an "invalid option"
> error.  Am I putting this option in the wrong place on the config
> panel?  Is there another way to call out JAXB in TC?

The java.xml.bind module is going to be removed from Java 11 and the
--add-modules trick will no longer work. I suggest adding the jaxb jar
to your classpath instead for a long term solution.

Emmanuel Bourg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message