Cur*_*rda 5 eclipse jaxb xjc maven
我检查了一个项目...并尝试解决 Eclipse Luna 4.4.0 中的一些问题。在其中一个 maven 项目中,我有以下 xjb 文件:
<?xml version="1.0" encoding="UTF-8"?>
<jaxb:bindings
version="2.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
jaxb:extensionBindingPrefixes="xjc"
xmlns:xjc= "http://java.sun.com/xml/ns/jaxb/xjc"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xsi:schemaLocation="
http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd
">
...
...
Run Code Online (Sandbox Code Playgroud)
但 Eclipse 报告我问题>
cvc-complex-type.3.2.2: 属性 'jaxb:extensionBindingPrefixes' 不允许出现在元素 'jaxb:bindings' 中
有人知道为什么吗?
| 归档时间: |
|
| 查看次数: |
5164 次 |
| 最近记录: |