【发布时间】:2016-04-07 01:57:52
【问题描述】:
我正在尝试从位于 C:\Program Files (x86)\Intuit\IDN\Common\tools\validator 的 quickbooks 提供的 qbxml.xsd 模式生成 java jaxb 类
我正在运行以下命令:
xjc -d C:\dev\jaxb -p com.quickbooks.jaxb qbxml.xsd
但我收到以下错误:
[ERROR] src-resolve: Cannot resolve the name 'STRTYPE' to a(n) 'type definition' component.
line 5267 of file:/C:/Program%20Files%20(x86)/Intuit/IDN/Common/tools/validator/qbxml.xsd
[ERROR] src-resolve: Cannot resolve the name 'STRTYPE' to a(n) 'type definition' component.
line 5285 of file:/C:/Program%20Files%20(x86)/Intuit/IDN/Common/tools/validator/qbxml.xsd
[ERROR] src-resolve: Cannot resolve the name 'STRTYPE' to a(n) 'type definition' component.
line 5303 of file:/C:/Program%20Files%20(x86)/Intuit/IDN/Common/tools/validator/qbxml.xsd
[ERROR] src-resolve: Cannot resolve the name 'STRTYPE' to a(n) 'type definition' component.
line 5321 of file:/C:/Program%20Files%20(x86)/Intuit/IDN/Common/tools/validator/qbxml.xsd
Failed to parse a schema.
任何帮助将不胜感激。这是我第一次生成 JAXB 类
在此致谢
【问题讨论】:
标签: java jaxb quickbooks xjc