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

sponsored links
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
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

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

  • At Debian (includes Ubuntu) use the APT platform installed Ruby and Rails

    Passenger Responsible person Phusion , Announced two days before the DebGem (RubyGem to APT conversion service) After the Debian and Ubuntu systems administrators and users can use APT to install and maintain ways to ruby and rails systems environmen ...

  • DWR filters and exception handling

    Just modify dwr.xml: <dwr> <allow> <create javascript="UserService" creator="spring"> <param name="beanName" value="userService"> </ param> </ create> <! - Call UserService of

  • Getting Started Programming spring Ten Questions

    1, how to study Spring? You can study through the following means spring: (1) spring package download doc directory under MVC-step-by-step and the sample directory are relatively good examples of spring development examples. (2) AppFuse integrates a numbe

  • hibernate how to store binary, image and other major fields.

    model categories: reportByte binary type for the database fields. public class PfReportStyle implements java.io.Serializable , Cloneable { // Fields /** * */ private static final long serialVersionUID = 1L; private Long id; private byte[] reportByte; // C

  • NoClassDefFoundError: javax / servlet / Servlet

    In the project in order to achieve a listener in web.xml set up a listener, did start in Tomcat actually occurred after java.lang.NoClassDefFoundError: javax / servlet / ServletContextListener this anomaly google and found the reasons for the lack of serv

  • How the primary key agent-hibernate

    Existing Table A, B Statement: A, B field id-based keys. A: [id, name] B: [id, Aid, title] B and A's set up a many-to-one relationship because of A, B two tables are the primary key id field so add B when Hibernate will automatically retrieve id ...

  • java read file

    java read documents in two ways: java.io and java.lang.ClassLoader When using the java.io, when java.lang.ClassLoader use it? (Note: If prior to read xml file java read file clearly aware of these two methods have been like! Can take much less to understa

  • Hibernate primary key strategy-sequence

    Today, the use of hibernate in the company encountered a troublesome problem, the use of hibernate when the primary key generation strategy set sequence, but always reported in the implementation could not get next sequence value of the error, then o ...

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

  • Great collection of java interview topics

    1, object-oriented features of what has 1. Abstract: Abstract is that it has overlooked a subject has nothing to do with the current goal of those aspects in order to more fully with the current objectives of the attention-related aspects. Abstract does n

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries