3 Replies Latest reply on Dec 8, 2004 5:59 AM by Ratheesh Ramachandran

    ClassCastException with apache digester

    Ratheesh Ramachandran Newbie

      We are seeing this ClassCastException from Digester, whenever we start JBOSS from Eclipse IDE. It works fine when started at command line. The SAR within which the Digester is embedded has defined a loader-repository.

      Any ideas ? What could Eclipse be angry with ?

      ERROR [Digester] Digester.getParser:
      java.lang.ClassCastException
      at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
      at org.apache.commons.digester.Digester.getFactory(Digester.java:512)
      at org.apache.commons.digester.Digester.getParser(Digester.java:686)
      at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)