Weblogic启动CXF项目的小问题,求指导!!!
Weblogic启动项目报错如下:
报错中方法代码如下:
代码就这么多了,问题是报错里所提的arg0和arg1到底在哪?完全没头绪,找不到!
Caused By: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
Class has two properties of the same name "arg0"
this problem is related to the following location:
at public java.lang.String com.XXX.service.jaxws_asm.LoginCheck.getArg0()
at com.XXX.service.jaxws_asm.LoginCheck
this problem is related to the following lacation:
at private java.lang.String com.XXX.service.jaxws_asm.LoginCheck.arg0
at com.XXX.service.jaxws_asm.LoginCheck
Class has two properties of the same name "arg1"
this problem is related to the following location:
at public java.lang.String com.XXX.service.jaxws_asm.LoginCheck.getArg1()
at com.XXX.service.jaxws_asm.LoginCheck
this problem is related to the following lacation:
at private java.lang.String com.XXX.service.jaxws_asm.LoginCheck.arg1
at com.XXX.service.jaxws_asm.LoginCheck
报错中方法代码如下:
openLDAPConnection();
String[] baseDNs = LDAPConnectionServlet.baseDN;
if (baseDNs != null && baseDNs.length > 0) {
String requestDN = null;
SearchRequest searchRequest = null;
List<SearchResultEntry> list = null;
for (String baseDN : baseDNs) {
requestDN = LDAPConnectionServlet.loginNameRDN + userName + ","
+ baseDN;
try {
searchRequest = new SearchRequest(requestDN,
SearchScope.SUB, "(" + LDAPConnectionServlet.filter
+ ")");
searchRequest.addControl(new SubentriesRequestControl());
SearchResult searchResult = conn.search(searchRequest);
list = searchResult.getSearchEntries();
if (list != null && list.size() == 1) {
closeLDAPConnection();
return password.equals(list.get(0).getAttributeValue("userPassword"));
}
} catch (LDAPException e) {
closeLDAPConnection();
}
}
}
closeLDAPConnection();
return false;
代码就这么多了,问题是报错里所提的arg0和arg1到底在哪?完全没头绪,找不到!
...全文
相关推荐
CXF项目部署weblogic9.2终极解决方案
NULL 博文链接:https://wanghuanqiu.iteye.com/blog/1500183
CXF support WAS Weblogic
CXF 对于WAS,Weblogic等应用服务器的支持
Weblogic92+CXF+XDoclet+Spring轻松搞定webservice 例子
Weblogic92+CXF+XDoclet+Spring轻松搞定webservice 例子
CXF+spring+jdk1.5开发webService
cxf+spring+jdk1.5开发webService部署weblogic9.2
cxf冲突_0001
CXF发布到weblogic问题 服务器端问题 1.javax.jws.webService.portName 找不到的错误 打开bea/weblogic 92/common/bin/commEnv.cmd或


