Custom parser classloader problem

Hugo Palma <[email protected]> Tue, 31 Jan 2006 13:52:40 +0000
Newsgroups gmane.comp.ide.eclipse.spindle.devel
Message-ID <[email protected]>
I'm not being able to add the custom parser to the plugin. I'm hitting all
kinds of classloader problems. You warned about this, but i'm really not
getting what the problem is.

I don't have any other parser in the classpath, only the JDK one and the one
provided with spindle-parser. Still when i run the plugin i get:

java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
    at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java
:30)
    at org.apache.tapestry.parse.SpecificationParser.<init>(
SpecificationParser.java:297)
    at org.apache.tapestry.parse.SpecificationParser.<init>(
SpecificationParser.java:367)
    at org.apache.tapestry.parse.SpecificationParser.<init>(
SpecificationParser.java:357)


Any tips ?


PS - Everything else is going fine, almost finished with the Resources
stuff.


Cheers

Hugo