The solution of weblogic webservice Exception.

本文解决了在使用WebLogic9.2版本开发WebService客户端时遇到的NoClassDefFoundError异常问题。作者通过添加缺失的jar文件成功解决了该问题,包括weblogic.jar、webservices.jar等依赖。
I have a project to work on weblogic 9.2 web service. when I create a standalone client side. it throw Exception.

java.lang.NoClassDefFoundError: com/bea/xml/XmlException
at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureProjectCompiler(AppManager.java:465)
at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureProjectCompiler(AppManager.java:442)
at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureAppDeployment(AppManager.java:631)
at com.bea.wlw.runtime.core.dispatcher.AppManager.ensureAppDeployment(AppManager.java:547)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

In the end, I found the solution that is I miss the jar files.
The dependencise List is:
weblogic.jar
webservices.jar
xbean.jar
weblogic-container-binding.jar
ant.jar

Then every thing ok. hahahahaha.......... I am so smart. Yeah...........
A MultiException has 11 exceptions. They are: 1. weblogic.management.ManagementException: [Management:141266]Parsing failure in config.xml: The following failures occurred: -- Unresolved reference to ms1-cfe-dm by /SecurityConfiguration/DefaultRealm . 2. java.lang.IllegalStateException: Unable to perform operation: create on weblogic.management.provider.internal.RuntimeAccessImpl 3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.management.provider.internal.RuntimeAccessService 4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.FinalThreadLocalService errors were found 5. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.FinalThreadLocalService 6. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.BootService errors were found 7. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.BootService 8. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.rjvm.RJVMService errors were found 9. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.rjvm.RJVMService 10. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolRegistrationService errors were found 11. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolRegistrationService
最新发布
09-11
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值