Hey, there!

I've got a JUnit 4.2 test that tests a simple little email address
validator.  The validator uses javax.mail.internet.InternetAddress.
Everything works fine in Eclipse when I run it as a JUnit Test.  However,
when I try to install the project containing the JUnit test, it fails on the
surefire:test with the following:

java.lang.ClassFormatError: Absent Code attribute in method that is not
native or abstract in class file javax/mail/internet/AddressException.

Can anyone suggest what to do differently to make the JUnit test run
properly during the surefire:test?

Thanks much!
Derry

Reply via email to