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

前端 未结 5 1050
猫巷女王i
猫巷女王i 2021-02-18 17:58

I have a java project that includes Spring 3.0.2 and XmlSchema.jar 1.4.7

The project\'s pom.xml contains as a dependency:

    
                


        
5条回答
  •  离开以前
    2021-02-18 18:17

    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

提交回复
热议问题