在使用Eclipse JUNO EE的JAXB教程之后,我得到了关于生成JAXB类的以下内容。
我相信我正在遵循这些步骤,但是搜索网络会返回很少的结果,任何帮助都会受到赞赏。
cowardly refuses to write to a non-existent directory "src"
Usage: xjc [-options ...] <schema file/URL/dir/jar> ... [-b <bindinfo>] ...
If dir is specified, all schema files in it will be compiled.
If jar is specified, /META-INF/sun-jaxb.episode binding file will be compiled.
Options:
-nv : do not perform strict validation of the input schema(s)
-extension : allow vendor extensions - do not strictly follow the
Compatibility Rules and App E.2 from the JAXB Spec*