My web application runs fine on JDK 1.7 but crashes on 1.8 with the following exception (during application server startup with Jetty 8). I am using Spring version: 3.2.5.RELEASE.
org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet
I assume that problem occurs because of spring and "asm.jar" library on which it depends.
How do I resolve this?
我收到以下错误 **ASM ClassReader 无法解析类文件 - 可能是由于尚不支持的新 Java 类文件版本 **
我使用 JDK 1.8 和 Apache 7 并且使用 Spring 3.2.9 版本来运行我的 web 项目
[jar:file:/apps/tomcat/instances/tomcat01/work/Catalina/localhost/ConcurArchival_Web/WEB-INF/lib/ecl-test-1.0.0.jar!/com/tgt/ecl/framework/test/MVCTest.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: URL
Run Code Online (Sandbox Code Playgroud)
退伍军人的帮助表示赞赏
下面添加了堆栈跟踪:
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/apps/tomcat/instances/tomcat01/work/Catalina/localhost/ConcurArchival_Web/WEB-INF/lib/tgt-ecl-test-1.0.0.jar!/com/tgt/ecl/framework/test/MVCTest.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse …Run Code Online (Sandbox Code Playgroud) 我知道存在注释@Future.
如果我使用此注释注释字段
@Future
private Date date;
Run Code Online (Sandbox Code Playgroud)
日期必须在将来意味着在当前时刻之后.
现在我需要在当前时刻之后至少24小时验证该日期.
我该怎么做?