1
我在我的jaxB類生成了一些對象衝突,我知道我可以做的事情就像使用自定義綁定文件來解決衝突然而,這種衝突發生在兩個單獨的文件中具有相同名稱的元素之間使用不同的名稱空間。不應該有他們有不同命名空間的事實足夠嗎?jaxB命名空間之間的衝突
parsing a schema...
compiling a schema...
[ERROR] A class/interface with the same name "code.NameType" is already in use. Use a class customization to resolve this conflict.
line 215 of file:/C:/Workspace/schemaGen/SchemaGen/src/schemas/Core.xsd
[ERROR] (Relevant to above error) another "NameType" is generated from here.
line 47 of file:/C:/Workspace/schemaGen/SchemaGen/src/schemas/SearchCore.xsd
你可以顯示XSD的命名空間聲明嗎? – Puce