What happened to: org.apache.ws.commons.schema.XmlSchemaCollection.read(InputSource)? What happened to: org.apache.ws.commons.schema.XmlSchemaCollection.read(InputSource)? apache apache

What happened to: org.apache.ws.commons.schema.XmlSchemaCollection.read(InputSource)?


The correct dependency is

<dependency>    <groupId>org.apache.ws.xmlschema</groupId>    <artifactId>xmlschema-core</artifactId>    <version>2.0.1</version></dependency>


Please change your dependency to 2.0.1 or 2.0.2

legacy 1.4.7 don't have the method defined

public XmlSchema read(Source source) {    if (source instanceof SAXSource) {        return read(((SAXSource)source).getInputSource());    }

check the 1.4.x javadoc and 2.x javadoc