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