java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry

在用jdk1.6进行webservice开发,部署到weblogic上

并用wsimport生成客户端,

service = new TzbbWebServiceImplService(ip.replace("IP", ips));//这句出现此警告
TzbbWebServiceImpl TzbbImpl = service.getTzbbWebServiceImplPort();
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://localhost:7001/services/ws?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.

先谷歌一番,发现这位仁兄和我的问题一样http://stackoverflow.com/questions/25122886/error-deploying-java-application-to-weblogic

缺少的这个class在com.oracle.ws.http_client_1.2.0.0.jar这个包里

下载在这里:http://northernserve.ca/downloads/Oracle/Middleware/modules/

结果证明这还是不行。。。

最后在oracle看到这个

I think you had hitted a bug here.
In order to address the issue apply patch from Bug 17246737.Steps to download and apply the patch are listed below:
Go to MOS and search for the bug 17246737
 
 
1) Log onto My Oracle Support.
2) Click on the "Patches & Updates" tab.
3) Click on "Patch Name, Number (the default).
4) For the "Patch Name or Number" type in the patch number (for example: 17246737).
5) Choose the "Platform" or (Select the default which is "Select up to 5" for any platforms)
6) Hit Search.
 
Thanks
Ranjan

BUG。。。。。。

posted @ 2016-03-01 11:02  暗夜心慌方  阅读(3599)  评论(0)    收藏  举报