我尝试使用 JAXB 生成类,但出现异常: IllegalArgumentException: Illegal Pattern character 'g' 我使用了一个复杂的 XSD 文件和一个绑定文件,如下所示。有人可以提供调查地点的线索吗?
<jxb:bindings version="1.0"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
jxb:extensionBindingPrefixes="xjc">
<jxb:bindings schemaLocation="IFX170_XSD.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="cy.com.netinfo.netteller.ifx"/>
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="RemitDetail_Type.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="cy.com.netinfo.netteller.ifx.remitdetailinfo"/>
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="$pain.001.001.01.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="cy.com.netinfo.netteller.ifx.swift.pain_001_001_1"/>
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="$pain.002.001.01.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="cy.com.netinfo.netteller.ifx.swift.pain_002_001_1"/>
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="$pain.004.001.01.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="cy.com.netinfo.netteller.ifx.swift.pain_004_001_1"/>
</jxb:schemaBindings>
</jxb:bindings>