XML parse fail using JDOM


I'm trying to parse XML in plugin use JDOM (for code reuse purpose), but when I call 


SAXBuilder builder = new SAXBuilder();


It crashed for this:

Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser cannot be cast to org.xml.sax.XMLReader


I think the version of xerces in the idea lib is too low, any solutions?

Please sign in to leave a comment.