我是靠谱客的博主 复杂大碗,这篇文章主要介绍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

  1. Go to Maven Settings -> Maven -> Runner
    Set the JRE to 1.8

  2. Go to File -> Project Structure -> SDKs
    Make sure the JDK home path is set to 1.8

最后

以上就是复杂大碗最近收集整理的关于Hibernate 出现Unsupported major.minor version 52.0 [duplicate]的全部内容,更多相关Hibernate内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(101)

评论列表共有 0 条评论

立即
投稿
返回
顶部