Sorry that i reply to this old thread but i have exact the same problem.
My pom.xml contains:
<!-- jersey test framework 1.5 -->
<dependency>
<groupId>com.sun.jersey.jersey-test-framework</groupId>
<artifactId>jersey-test-framework-grizzly</artifactId>
<version>1.5</version>
<scope>test</scope>
</dependency>
<!-- java ee 6.0 -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<!-- junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
If i run my test case i get the same strange exception
("java.lang.ClassFormatError: Absent Code attribute in method that is not
native or abstract in class file javax/mail/MessagingException"). My test
looks like:
public class MyTestCase extends JerseyTest {
public MyTestCase() {
super("my.webservice"); // <-- error occur here
}
...
}
Thanks for any tip or advice.
Matthias
--
View this message in context: http://jersey.576304.n2.nabble.com/Bizarre-stack-trace-with-jersey-client-tp785445p5944489.html
Sent from the Jersey mailing list archive at Nabble.com.