shahid
shahid

Reputation: 5

"InvalidClassException" for "XMLGregorianCalendarImpl" xercesImpl lib under esapi 2.5.2.0

We are migrating from jdk 8 to 11. We have one of library for esapi version 2.5.2.0 compatible for jdk11. When we have deployed in production server we are getting "InvalidClassException" for "XMLGregorianCalendarImpl". The issue is due to openjdk 11 & xercesImpl lib under esapi having same class XMLGregorianCalendarImpl with two differrent serialVersionUid.

We tried to exclude the xercesImpl from esapi however it is giving classnotfound exception. Is it possible to suppress the openjdk lib to have the xerces lib take the precendency or any other possible solution?

Upvotes: 0

Views: 171

Answers (0)

Related Questions