Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache Tomcat 9 fails on JDK 9

anand_gpFeb 12 2018 — edited Feb 12 2018

Hi,

I am trying to install Apache Tomcat 9 on JDK 9 on windows.  It fails with java compatibility issue like -

java.lang.NoClassDefFoundError: javax/xml/bind/ValidationEventHandler

        at java.base/java.lang.Class.getDeclaredFields0(Native Method)

        at java.base/java.lang.Class.privateGetDeclaredFields(Unknown Source)

When I google, I found it as JDK 9 compatibility issue and can be fixed by using --add-modules java.se.ee option when we run java.

For example, it worked when starting ORDS like -

java --add-modules java.se.ee -jar apex.war install advanced

However, for Tomcat, to start, I use -

catalina.bat start

And it gives above mentioned error.  Not sure, how to fix this issue.  Please help.

Thanks,

-Anand

This post has been answered by anand_gp on Feb 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2018
Added on Feb 12 2018
1 comment
1,315 views