Hibernate 出现Unsupported major.minor version 52.0 [duplicate]
2017-04-29 21:18
525 查看
原因:
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.8
Go to File -> Project Structure -> SDKs
Make sure the JDK home path is set to 1.8
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.8
Go to File -> Project Structure -> SDKs
Make sure the JDK home path is set to 1.8
相关文章推荐
- IDEA 出现 Unsupported major.minor version 52.0
- Visual Studio 2015 开发Android Cordova出现unsupported major minor version 52.0错误的解决方法
- 服务器部署项目出现问题:Unsupported major.minor version 52.0
- Android Studio出现UnsupportedClassVersionError Unsupported major.minor version 52.0
- gradlew编译时出现Unsupported major.minor version 52.0
- eclipse运行Android程序出现Unsupported major.minor version 52.0错误
- AS出现Unsupported major.minor version 52.0
- Oozie时出现Exception in thread "main" java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0?
- Android studio 出现 Unsupported major.minor version 52.0
- 【Scrapy】Unsupported major.minor version 52.0 [duplicate]
- hibernate-问题:org/hibernate/cfg/Configuration : Unsupported major.minor version 52.0的解决方法
- 开发工具问题笔记-运行android工程时出现Unsupported major.minor version 52.0错误
- Hibernate出现Unsupported major.minor version 51.0错误
- Android studio 出现 Unsupported major.minor version 52.0
- eclipse运行android工程时出现Unsupported major.minor version 52.0错误
- Android Studio出现UnsupportedClassVersionError Unsupported major.minor version 52.0
- 三、运行Tomcat9.0,jdk1.7出现tomcat unsupported major.minor version 52.0
- android studio在真机上运行程序出现Unsupported major.minor version 52.0错误
- Android studio 出现 Unsupported major.minor version 52.0
- 【Hibernate】版本错误 org/hibernate/Query : Unsupported major.minor version 52.0