I am getting this dialog box when i am building my application with Xpand.
"An internal error occurred during: "Analyzing accessible EMF metamodels for project my.generator.project". org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory"
开发者_JAVA百科What is the solution for it?
I had the same problem and described my solution here.
Basically, this occurs when is more than one SAX parser in your current classpath heirarchy; e.g. the calling plugin requires a SAXParser but one has already been created in another plugin which cannot be accessed through the classpath.
Solution: You may have two Xerces plugins in your environment. Use the Plug-in Registry (Window > Show View > Plug-in Development > Plug-in Registry) to find out which plugins are causing this. In my case, I had two plugins which both contributed a xerces.jar
.
精彩评论