当前位置: 代码迷 >> J2EE >> 重启weblogic后webservice服务出现java.lang.NoClassDefFoundError错误
  详细解决方案

重启weblogic后webservice服务出现java.lang.NoClassDefFoundError错误

热度:64   发布时间:2016-04-22 00:44:34.0
重启weblogic后webservice服务出现java.lang.NoClassDefFoundError异常
遇到一个很奇怪的问题. 之前Webservice服务用得好好的. 可有次重启了Weblogic以后. 服务就不能用了.客户端调用服务超时 后台日志报
java.lang.NoClassDefFoundError
  at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:121)
  at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
  at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
  at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)
  at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
  at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
  at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
  at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
  at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
  at org.apache.axis.transport.http.AxisServlet.initQueryStringHandlers(AxisServlet.java:1057)
  at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:200)
  at javax.servlet.GenericServlet.init(GenericServlet.java:256)
  at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
  at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
  at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

求各位达人解答! thx

------解决方案--------------------
有点眼熟...
你weblogic启动后webservice的wsdl还能看吗?
你有没有更改项目引用的jar包或者weblogic加载jar包的顺序?
  相关解决方案