Jeremy Stein - Brain

« »

Axis2: Duplicate global type

While Axis2 was compiling my WSDL and XSD files, it yelled at me with this:

org.apache.xmlbeans.XmlException: project://local/MyFile.xsd:3:1: error: sch-props-correct.2: Duplicate global type: MyType@http://mycompany.com/spr/lite/xsd (Original global type found in file: MyFile.xsd)

It turned out the error was due to my double importing of an XSD file. (That is, file A imported file B and C, but file B also imported file C.)

August 8, 2007 No Comments.

No Comments

Be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Why ask?

« »