关于发布web项目的问题:HTTP Status 500 – Internal Server Error(2)
来源:10-1 阿里云初始化与执行环境安装
慕仙8394361
2019-05-23
上一个问题
老师好,jdbc.properties里面有jdbc.url的问题已经解决,但是还有一个问题没有解决。如下所示:
UnsupportedClassVersionError: com/imooc/o2o/entity/Area has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [com.imooc.o2o.entity.Area])
百度的解决方法是让JDK的编译版本保持一致,所以我重装了服务器上的JDK,两边用的都是JDK9.0.4,TOMCAT分别是8.5.39和8.5.41,但问题还是没有得到解决。求老师解答。
写回答
1回答
-
同学好,
如果对jdk版本有芥蒂,建议使用tomcat9,tomcat9支持较新的jdk版本
012019-05-28
相似问题