First of all, I want to apologize for maybe duplicate topic but I couldn\'t find the answer to my question.
I started today with spring mvc and i have some issues wi
I ran into the same problem using the sample project from https://github.com/cheptsov/SpringMVCApp and changed the Spring Framework version to
<spring.version>4.1.1.RELEASE</spring.version>
in the pom.xml.
The ClassReader
class constructor shown in your stack trace has a piece of code commented in version 4+ (in other words, it's there in version 3)
// checks the class version
/* SPRING PATCH: REMOVED FOR JDK 1.8 BYTECODE COMPATIBILITY
if (readShort(off + 6) > Opcodes.V1_7) {
throw new IllegalArgumentException();
}
*/
Basically, you can't use Java 8 with Spring 3 (there is no Spring 3.5.0). Upgrade to Spring 4 or downgrade to Java 7.