Hello,
with
tomcat 7, I get the following exception on startup:
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException
I use
maven for dependency management. After some searching, I found out that the following dependency seams to cause the problem
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
But the scope of the dependency is provided, so it should not case problems at startup? And I think, tomcat 7 should include the required
servlet api 3.0 implementation, so I donĀ“t really understand the problem. Could some one help me?