• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassFormatError: JVMCFRE074 no Code attribute specified; class=javax/servlet/jsp/PageCont  RSS feed

 
Colin Joyce
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I'm working with maven and websphere 7.0.

When I run the test cases on the build server, I'm getting the exceptions at the end of the post.

This is related to using the following java api jar:

<dependency>
<groupId>javaee</groupId>
<artifactId>javaee-api</artifactId>
<version>5</version>
<scope>provided</scope>
</dependency>

This jar does not contain the actual implementations of the classes.

The question I have is where can I get jars preferably IBM jars that contain implementations of javax.servlet.* so that I can add them into my maven repo to be used when running tests.

Any help would be appreciated.

Exception:

nested exception is java.lang.ClassFormatError: JVMCFRE074 no Code attribute specified; class=javax/servlet/jsp/PageContext, method=<init>()V, pc=0; nested exception is org.apache.maven.surefire.testset.TestSetFailedException: ; nested exception is java.lang.ClassFormatError: JVMCFRE074 no Code attribute specified; class=javax/servlet/jsp/PageContext, method=<init>()V, pc=0
org.apache.maven.surefire.testset.TestSetFailedException: nested exception is java.lang.ClassFormatError: JVMCFRE074 no Code attribute specified; class=javax/servlet/jsp/PageContext, method=<init>()V, pc=0
java.lang.ClassFormatError: JVMCFRE074 no Code attribute specified; class=javax/servlet/jsp/PageContext, method=<init>()V, pc=0
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!