I downloaded the latest MySQL connector mysql-connector-java-5.1.37.zip from https://dev.mysql.com/downloads/connector/j/.
Tomcat is throwing "ASM ClassReader failed to parse class file - probably d e to a new Java class file version that isn't supported yet:[]" while starting my webapp. I tried running with JDK 7 and 8. Search results indicate the error may occur if the jar was built for JDK 8, not with JDK 7 compile level.
Is there another MySQL connector jar I should use? Other workarounds? (The webapp also uses Spring 3.2.4)
C:/servers/apache-tomcat-7.0.65/lib/mysql-connector-java-5.1.37-bin.jar!/com/mysql/jdbc/JDBC42CallableStatement.class];
nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably d
e to a new Java class file version that isn't supported yet: URL [jar:file:/C:/servers/apache-tomcat-7.0.65/lib/mysql-c
nnector-java-5.1.37-bin.jar!/com/mysql/jdbc/JDBC42CallableStatement.class]; nested exception is java.lang.IllegalArgume
tException
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(Cl
ssPathScanningCandidateComponentProvider.java:290)