0

Upon deploying my application to websphere, I am getting the below exception. Does this mean the versions are not supported with each other? I can post the full log if required!

java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl incompatible with javax.xml.parsers.SAXParserFactory

Note: I have seen the other post which is answered, but that is not helpful to me! Since I do not have enough reputation to comment there, I had to repost this!

1 Answer 1

2

This happened due to jar conflict between websphere default jars vs project library jars. Upon changing the class loader settings to PARENT_LAST in websphere console, I was able to resolve the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.