1.我使用的jdk是1.7,但是我的maven项目无论如何都会对@Override报错:
我设置了project level和preference中的complie level都没有用,maven的配置文件什么都没有写。。这种情况该怎么处理?配置如下:
2.为什么我的idea一创建或者打开项目就会提示这个。。。该怎么处理?
拜托大家了
迷茫2017-04-18 10:36:03
Git is detected, but the root folder of Git is not told to Idea. This should be the problem. As for the error reported by Override, take a look at what error is reported.
阿神2017-04-18 10:36:03
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
Try using the Maven compile plugin
specified version.
ringa_lee2017-04-18 10:36:03
Set the maven compilation version. Otherwise, your maven compiled version will be changed to 1.5 every time
Reference:
http://blog.csdn.net/high2011...