本文主要是介绍Hibernate 出现Unsupported major.minor version 52.0 [duplicate],希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
原因:
Java版本错误
J2SE 8 = 52
J2SE 7 = 51
J2SE 6.0 = 50
J2SE 5.0 = 49
JDK 1.4 = 48
JDK 1.3 = 47
JDK 1.2 = 46
JDK 1.1 = 45
解决方法:
1. Maven Settings -> Maven -> Importing.
Set the JDK for importer to 1.8
Go to Maven Settings -> Maven -> Runner
Set the JRE to 1.8Go to File -> Project Structure -> SDKs
Make sure the JDK home path is set to 1.8
这篇关于Hibernate 出现Unsupported major.minor version 52.0 [duplicate]的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!