2 Replies Latest reply on Sep 20, 2006 5:47 PM by aloubyansky

    java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.XMLSc

    mpipes

      I am currently using Jboss 4.01 sp1 and I am trying to load a schema and validate it using xerces. However, the app is throwing this exception.


      java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar([Lorg/apache/xerces/xni/parser/
      XMLInputSource;)V
      at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
      at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
      at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
      at com.nielsenmedia.services.util.XMLValidator.(Unknown Source)


      I posted this before, but I can't seem to find this any more. Any help would be greatly appreciated.