zhangyanfengzi
zhangyanfengzi
2012-11-12 10:59

java.lang.NoClassDefFoundError: javax/wsdl/WSDLException

已采纳
Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/WSDLException 
    at cn.com.petrochina.www.f5.service.mowebservicev1_0.MoWebServiceStub.populateAxisService(MoWebServiceStub.java:41) 
    at cn.com.petrochina.www.f5.service.mowebservicev1_0.MoWebServiceStub.<init>(MoWebServiceStub.java:100) 
    at cn.com.petrochina.www.f5.service.mowebservicev1_0.MoWebServiceStub.<init>(MoWebServiceStub.java:89) 
    at cn.com.petrochina.www.f5.service.mowebservicev1_0.MoWebServiceStub.<init>(MoWebServiceStub.java:135) 
    at cn.com.petrochina.www.f5.service.mowebservicev1_0.MoWebServiceStub.<init>(MoWebServiceStub.java:127) 
    at cn.com.petrochina.www.f5.service.mowebservicev1_0.CopyOfJdbcSysCodeType.main(CopyOfJdbcSysCodeType.java:369) 
Caused by: java.lang.ClassNotFoundException: javax.wsdl.WSDLException 
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307) 
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252) 
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) 
    ... 6 more

 

 希望得到大家的帮助谢谢.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • iteye_5246 iteye_5246 9年前

    没有找到
    javax.wsdl.WSDLException 这个类,少包了
    wsdl4j.jar

    点赞 1 评论 复制链接分享
  • zx527291227 zx527291227 9年前

    NoClassDefFoundError 看到这个信息80%一定是缺少jar包,demojava已经给出答案了!

    点赞 1 评论 复制链接分享

相关推荐