Maven2:List return type methods not getting generated from .xsd files while using xmlbeans plugin

こ雲淡風輕ζ 提交于 2020-12-13 11:34:39

问题


I am tring to build my project using maven2.This project was succesfully build using ANT in netbeans IDE. Now the problem is, I am able to generate the .java files from .xsd files using xmlbeans maven plugin.But some getter setter methods having java.util.list as return type is not getting generated.

Please help me..I am not able to do my build beacuse of this :(


回答1:


You need to set the javasource version to 1.5 to get List support in XmlBeans.



来源:https://stackoverflow.com/questions/7631439/maven2list-return-type-methods-not-getting-generated-from-xsd-files-while-usin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!