首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >WSDL2JAVA不会生成setter方法

WSDL2JAVA不会生成setter方法
EN

Stack Overflow用户
提问于 2011-02-02 22:45:06
回答 2查看 2.3K关注 0票数 1

有没有人见过这个?基本上,我从SUN jre切换到IBM,由于wsdl2java没有编译必要的setter方法,所以编译失败。

提前谢谢。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-02-02 23:27:42

你在使用jaxb吗?

生成的代码中有类似这样的内容吗?

代码语言:javascript
复制
/**
     * Gets the value of the parameter property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the parameter property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getParameter().add(newItem);
     * </pre>
票数 2
EN

Stack Overflow用户

发布于 2011-03-11 01:24:59

在Axis2 issues系统中有一个关于此问题的错误报告,在您提出问题后打开。参见https://issues.apache.org/jira/browse/AXIS2-4968

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4875775

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档