Menu

#13 java.lang.IllegalAccessError

open
nobody
JSMIME (13)
5
2002-12-27
2002-12-27
Anonymous
No

Several problems occur when I tried to run
test.org.webdocwf.util.smime.smime.SMimeTest:

First, compilation fails because the junitpp-3.7.jar
downloaded as indicated in the build.xml does not
contain the FileUtils.class required by SMimeTest, so I
use junitpp3.8.1.jar instead.

Then, when I try to run the SMimeTest, the following
error occurs:
[java] java.lang.IllegalAccessError: try to access
method javax.mail.intern
et.MimeMessage.updateHeaders()V from class
javax.mail.internet.HeadersUtil
[java] at
javax.mail.internet.HeadersUtil.updateHeaders(Unknown
Source)

submitted by
janicepang@yahoo.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Please ignore the second part of the above report regarding
    IllegalAccessError. That problem happens because of
    incorrect classpath.

     
  • Nobody/Anonymous

    Logged In: NO

    Please ignore the second part of the above report regarding
    IllegalAccessError. That problem happens because of
    incorrect classpath.

     

Log in to post a comment.

MongoDB Logo MongoDB