问题描述
我知道以前有人问过这个问题,我已经阅读了很多.但是,我无法弄清楚为什么它不起作用.我已按照类似问题中提供的所有步骤进行操作,但我解决了此错误.
所以我的 JAVA_HOME 指向这个:jdk1.7.0_79.jdk
我的编译器设置:http://s32.postimg.org/vjyn87zs4/Screen_Shot_2016_at_2_p_2016_at_2_p5.jpg
我安装的 JREhttp://s32.postimg.org/ykfy84s10/Screen_Shot_2016_jpg_39_p_2016_at_2016_at_p_2015_jpg_05>
我已尝试将其设置为 1.7,但仍然无法正常工作.
我不知道这是否重要,但我的依赖是:
<groupId>mysql</groupId><artifactId>mysql-connector-java</artifactId><version>6.0.2</version></依赖>
根据 this,你需要jre 1.8.X才能使用上面的依赖.使用以前的版本,你应该没问题.
I know this has been asked before, I have read many of them. However, I can't figure out why it is not working. I have followed all the steps provided in similar questions like this one but I solve this error.
So my JAVA_HOME points to this:jdk1.7.0_79.jdk
My compiler settings:http://s32.postimg.org/vjyn87zs4/Screen_Shot_2016_05_01_at_1_54_42_PM.jpg
My installed JREshttp://s32.postimg.org/ykfy84s10/Screen_Shot_2016_05_01_at_1_53_39_PM.jpg
Everything I have tried to set it to 1.7, but still it does not work.
I don't know if this matters, but my dependency is:
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>6.0.2</version>
</dependency>
As per this, you need jre 1.8.X to use the above dependancy.Use a prior version and you should be fine.
这篇关于不支持的 52.0 版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!