本文主要是介绍由于jdk版本问题引起的Unsupported major.minor version 52.0,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
tomcat启动报错 错误日志信息:
三月 01, 2019 9:47:02 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
三月 01, 2019 9:47:08 下午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.lejpro.login.controller.LoginController] for bean with name 'loginController' defined in file [C:\apache-tomcat-6.0.44\webapps\hy\WEB-INF\classes\com\lejpro\login\controller\LoginController.class]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/lejpro/login/controller/LoginController : Unsupported major.minor version 52.0 (不支持的专业。小版本52.0)(unable to load class com.lejpro.login.controller.LoginController)
这篇关于由于jdk版本问题引起的Unsupported major.minor version 52.0的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!