jboss开始但在Web服务中出错

时间:2012-09-12 05:52:26

标签: java web-services jboss

我已经启动了jboss,但在访问Web服务时遇到以下错误。这有时会发生。可能是什么问题呢?是不是有些罐子丢失了?如果是的话,有时它怎么可能找不到一些jar文件呢?请求指导。 Web服务的两个网址是“https://203.77.203.196:8447/GetGPRSMtrBillService/services/GetGPRSConBillDataSoapPort”, “https://203.77.203.196:8447/EPaymentWebService/services/NotifyInstaPaymentSoapPort”

例外

“javax.servlet.ServletException:servlet的Servlet.init()AxisServlet抛出异常     org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)     org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)     org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)     org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)     org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)     org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process(Http11Protocol.java:601)     org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:447)     java.lang.Thread.run(Thread.java:595)“

根本原因

“java.lang.NoClassDefFoundError:org / apache / axis / SimpleChain     org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:121)     org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)     org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)     org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:151)     org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)     org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)     org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)     org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)     org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)     org.apache.axis.transport.http.AxisServlet.initQueryStringHandlers(AxisServlet.java:1057)     org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:200)     javax.servlet.GenericServlet.init(GenericServlet.java:212)     org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)     org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)     org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)     org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)     org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)     org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process(Http11Protocol.java:601)     org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:447)     java.lang.Thread.run(Thread.java:595)“

1 个答案:

答案 0 :(得分:1)

java.lang.NoClassDefFoundError: org/apache/axis/SimpleChain 

您的类路径中似乎有错误的轴罐版本。确保在classpath中有有效的jar。