axis与tomcat的版本问题
本来写的webservice在自己的电脑上可以运行,到了公司始终运行不了,搞了半天,总报空指针异常Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:HYAS-BCC2CBB787
java.lang.NullPointerException
,搞了半天才发现原来是tomcat的版本不一样,自己电脑用的是tomcat6.0的,而公司用的是tomcat5.5的,晕死了,终于发现了问题了,下载"xercesImpl.jar" and "xml-apis.jar" 这两个包就ok了
页:
[1]