1 Reply Latest reply on Dec 7, 2004 1:09 PM by Elias Ross

    Cannot use Digester from session bean

    Denis Ballant Newbie

      Hi,

      I'm trying to use Apache Digester for reading an XML file from a session bean. But I get the following error message:

      09:13:38,390 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)
      


      Can someone help ?

      Denis