用例子测试juddi时出现的问题请大家帮忙了,好几天了,没有任何进展! 请大家帮帮忙吧!
*********** Running SaveBusinessExample ***********
Get authtoken
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.uddi4j.transport.TransportFactory.getTransport(TransportFactory.java:59)
at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1942)
at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1626)
at SaveBusinessExample.run(SaveBusinessExample.java:74)
at SaveBusinessExample.main(SaveBusinessExample.java:50)
Caused by: java.lang.ClassNotFoundException: org.apache.axis.AxisFault
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 7 more
--------------------编程问答--------------------
对了我在同一台机子上tomcat 5+axis2+mysql+juddi --------------------编程问答-------------------- juddi测试的时候出错是由于使用的JDK版本不对,我们不可以使用JDK1.6.0,要用JDK1.5.0版本
补充:企业软件 , WebSphere