我利用xfire开发了一个WebService的客户端,当把这个工程打包后,不能在其他工程里应用,请问各位大侠该如何解决啊。
打包前已经把xfire所需的jar文件拷贝到了libaray(自己建立的包文件夹)目录下,打包后,把jar文件拷贝到了另一个工程的libaray下
但是用不了,提示:
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/xfire/XFireRuntimeException
at cn.com.chinaccs.sh.ws.client.WSClientFeeQuery.<init>(WSClientFeeQuery.java:56)
at cn.com.chinaccs.sh.busi.SHBMenuLeafYECXQuery.menuOperator(SHBMenuLeafYECXQuery.java:114)
at cn.com.chinaccs.sh.busi.SHBMenuLeaf.menuOperator(SHBMenuLeaf.java:102)
at cn.com.chinaccs.sh.busi.SHBMenuLeaf.menuOperator(SHBMenuLeaf.java:76)
at cn.com.chinaccs.sh.busi.SmsOper.oper(SmsOper.java:82)
at cn.com.chinaccs.sh.busi.test.TestMain.main(TestMain.java:51)
不知改如何解决。向各位大侠求救,谢谢。