R
raj_renu
Hi,
I have installed xmlbeans and running sample application. My command to
generate the code and jar is
sc.cmd -src java -out customer.jar -srconly Customer.xsd.
contents of sc.cmd file is
java -classpath
c:\xmlbeans\lib\xbean.jar;c:\xmlbeans\lib\jsr173_api.jar;
c:\xmlbeans\lib\resolver.jar;
org.apache.xmlbeans.impl.tool.SchemaCompiler %*
I'm able to generate java code. However not able to generate the jar
file. When i try to compile the java code i get compilation error:
schema.system.s07E5261BE14EB2525B58699540CEADCA cannot be resolved. In
all java file variable type is defined as
public static final org.apache.xmlbeans.SchemaType type =
(org.apache.xmlbeans.SchemaType)schema.system.s07E5261BE14EB2525B58699540CEADCA.TypeSystemHolder.typeSystem.resolveHandle("address6818doctype");
Can you help me to resolve this.
Thanks and Regards,
Renu
I have installed xmlbeans and running sample application. My command to
generate the code and jar is
sc.cmd -src java -out customer.jar -srconly Customer.xsd.
contents of sc.cmd file is
java -classpath
c:\xmlbeans\lib\xbean.jar;c:\xmlbeans\lib\jsr173_api.jar;
c:\xmlbeans\lib\resolver.jar;
org.apache.xmlbeans.impl.tool.SchemaCompiler %*
I'm able to generate java code. However not able to generate the jar
file. When i try to compile the java code i get compilation error:
schema.system.s07E5261BE14EB2525B58699540CEADCA cannot be resolved. In
all java file variable type is defined as
public static final org.apache.xmlbeans.SchemaType type =
(org.apache.xmlbeans.SchemaType)schema.system.s07E5261BE14EB2525B58699540CEADCA.TypeSystemHolder.typeSystem.resolveHandle("address6818doctype");
Can you help me to resolve this.
Thanks and Regards,
Renu