zoukankan      html  css  js  c++  java
  • axis文件传递,NoClassDefFoundError: com/sun/mail/util/LineInputStream 和 com/sun/activation/registries/LogSupport

    java.lang.NoClassDefFoundError:com/sun/mail/util/LineInputStream

    java.lang.NoClassDefFoundError:com/sun/activation/registries/LogSupport

    NoClassDefFoundError: com/sun/mail/util/LineInputStream

    NoClassDefFoundError: com/sun/activation/registries/LogSupport

    原因:mail.jar 中的方法和j2ee5中的方法有冲突。

    删除默认的方法:

    D:\Program Files\myeclipse6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_6.4.100.zmyeclipse64100200805\data\libraryset\EE_5

    这个路径里,可以看到javaee.jar,用rar把这个文件打开,然后进到javax文件夹里,删除mail和activation文件夹。

    下载一个activation.jar包

    同样在使用mail邮箱功能时的错误也可以用这个发发解决。

  • 作者:hoojo
    出处:
    blog:http://blog.csdn.net/IBM_hoojo
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

版权所有,转载请注明出处 本文出自:
分享道版权所有,欢迎转载,转载请注明出处,谢谢
收藏
关注
评论
查看全文
  • 相关阅读:
    ubuntu 16.04上源码编译glog和gflags 编写glog-config.cmake和gflags-config.cmake | compile glog and glags on ubuntu 16.04
    Windows 10上源码编译glog和gflags 编写glog-config.cmake和gflags-config.cmake | compile glog and glags on windows from source
    windows 10上源码编译libjpeg-turbo和使用教程 | compile and use libjpeg-turbo on windows 10
    Ubuntu 16.04源码编译boost库 编写CMakeLists.txt | compile boost 1.66.0 from source on ubuntu 16.04
    如何在C++中使用boost库序列化自定义class ?| serialize and deserialize a class in cpp with boost
    Ubuntu 16.04上源码编译Poco并编写cmake文件 | guide to compile and install poco cpp library on ubuntu 16.04
    Windows 10上源码编译Poco并编写httpserver和tcpserver | compile and install poco cpp library on windows
    ubuntu 16.04 和 windows 10系统安装mysql 允许远程访问 | mysql user guide on ubuntu 16.04 and windows 10
    编写自定义cmake配置文件FindXXX.cmake或者xxx-config.cmake | cmake with user defined entry
    [Part 4] 在Windows 10上源码编译PCL 1.8.1支持VTK和QT,可视化三维点云
  • 原文地址:https://www.cnblogs.com/hoojo/p/1912425.html
  • Copyright © 2011-2022 走看看