开发者

Parser error on Xpand: SAXParserFactoryImpl cannot be cast to SAXParserFactory

开发者 https://www.devze.com 2023-03-17 21:44 出处:网络
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\".

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消