soapUI工作正常但得到soapenv:Server.generalException错误

时间:2013-11-04 19:02:19

标签: java web-services wsdl soapui

我在 Windows 64位个电脑上使用 soapUI 32位。它工作正常,但当我创建一个soap项目并发送Web请求时,我收到此错误:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault> <faultcode>soapenv:Server.generalException</faultcode> <faultstring>java.lang.NoClassDefFoundError: Could not initialize class net.sf.jpam.Pam; nested exception is: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jpam.Pam</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">CO10-SST01</ns1:hostname> </detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

此问题是否与JRE或JDK版本有关?

由于

1 个答案:

答案 0 :(得分:0)

你得到了

java.lang.NoClassDefFoundError: Could not initialize class net.sf.jpam.Pam;

JPam是在Linux,Mac OS X,Solaris,HP-UX和其他Unix系统上使用的标准安全体系结构。

如果您的网络服务或soapUi需要JPam以获取安装说明please check this link,但我认为Windows不受支持。

你能检查一下soapUi 64位吗?如果你得到同样的错误,我认为你需要检查使用这个库的内容。