Error when using XmlBeans generated classes

后端 未结 5 2260
刺人心
刺人心 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:47

    Extract jar in which you want to include schemaorg_apache_xmlbeans folder. Copy schemaorg_apache_xmlbeans folder in extracted folder (result from jar extraction). open command prompt in extracted folder.

    make jar again using jar cf command. e.g jar cf test.jar *, to include all folders.

    Deploy that jar .

提交回复
热议问题