Error when using XmlBeans generated classes

后端 未结 5 2228
刺人心
刺人心 2021-02-20 09:43

I\'ve generated classes with XMLBeans from an xsd file and packed them in a jar file. then I\'ve added that jar to the project classpath in eclipse and everything compiles and r

5条回答
  •  梦如初夏
    2021-02-20 10:25

    When you have this kind of error The TypeSystemHolder.class generated by WSDL2Java is not be placed in your classpath in order to avoid this error.

    Please copy TypeSystemHolder.class from "resource/schemaorg_apache_xmlbeans/system/s68C41DB812F52C975439BA10FE4FEE54" folder.

    And Paste TypeSystemHolder.class file into your classpath folder (build/classes/schemaorg_apache_xmlbeans/system/s68C41DB812F52C975439BA10FE4FEE54) folder

提交回复
热议问题