Exception in thread "main" java.lang.NoClassDefFoundError: com / sun / mail / util / Lin

If you myEclipse developed, then, run-time errors may occur the following:
Exception in thread "main" java.lang.NoClassDefFoundError: com / sun / mail / util / LineInputStream
The reason is jar package version of the non-uniform, the solution is as follows:

Remove the Java EE 5 Libraries / javaee.jar / mail there is something inside the package.

Specific methods are as follows:
With the rar open X: / Program Files / MyEclipse 6.0/myeclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_6.0.1.zmyeclipse601200710/data/libraryset/EE_5/javaee.jar
, And then delete the mail, everything ok in.

Then need to standardize the mail, tomcat j2ee version, and a uniform requirement

分类:Java 时间:2010-03-19 人气:483
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.169 (s). 13 q(s)