IWAB0503E Unable to update Java build path

本文详细介绍了在使用STS3.6.3版本时遇到的关于使用wsdl文件生成webserviceclient时报错的问题。通过在Eclipse中找到并移除冲突的javax.xml.soap插件版本,成功解决了无法更新Java构建路径、找不到saaj.jar文件的问题。具体操作包括识别和删除两个版本的javax.xml.soap插件,从而避免了构建路径冲突,使得webserviceclient能够正常生成。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在使用 STS 3.6.3 RELEASE版本时遇到了同样的问题。网上博客的内容对于开发Web Service Client有帮助。引自:http://zoutuo1986.iteye.com/blog/1708633

1、问题描述

在Eclipse3.6中,利用wsdl文件,生成相关联的web service client时,出错"IWAB0503E Unable to update Java build path. Please check your system environment.",明细中说找不到"/lib/saaj.jar"

2、seach

2.1、saaj.jar 创建到端点的点到点连接的方法、创建并处理SOAP消息和附件的方法,以及接收和处理SOAP错误的方法

2.2、“The Web Services generation tool detected multiple versions of the javax.xml.soap plug-in installed. Resolve this error by removing the conflicting plug-in.”(http://errorspotting.com/?p=26

 

在Help-->About Eclipse Installation Details中找果然有两个版本的。

 

 

 

 

 

3、处理

1、进入eclipse的目录"D:\eclipse3.6\eclipse\plugins"

2、将文件夹"javax.xml.soap_1.3.0.v201105210645"剪切出去,只留下文件夹"javax.xml.soap_1.2.0.v201005080501"

3、重启eclipse后,new web service client就不出这问题了。




IWAB0503E Unable to update Java build path. Please check your system environment. java.io.FileNotFoundException: /lib/axis.jar at org.eclipse.osgi.storage.url.bundleentry.Handler.findBundleEntry(Handler.java:55) at org.eclipse.osgi.storage.url.BundleResourceHandler.openConnection(BundleResourceHandler.java:186) at java.base/java.net.URL.openConnection(URL.java:1094) at org.eclipse.osgi.storage.url.BundleURLConverter.toFileURL(BundleURLConverter.java:41) at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:277) at org.eclipse.core.runtime.Platform.asLocalURL(Platform.java:640) at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxisJarCommand.getTheJarPath(CopyAxisJarCommand.java:434) at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxisJarCommand.addAxisJarsToBuildPath(CopyAxisJarCommand.java:319) at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxisJarCommand.execute(CopyAxisJarCommand.java:129) at org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientCodeGenOperation$ClientWSModifyOperation.execute(ClientCodeGenOperation.java:137) at org.eclipse.ui.actions.WorkspaceModifyOperation.lambda$0(WorkspaceModifyOperation.java:112) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2448) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2473) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:131) at org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientCodeGenOperation.execute(ClientCodeGenOperation.java:69) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:421) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:361) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:256) at
最新发布
03-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值