1.我使用的jdk是1.7,但是我的maven项目无论如何都会对@Override报错:
我设置了project level和preference中的complie level都没有用,maven的配置文件什么都没有写。。这种情况该怎么处理?配置如下:
2.为什么我的idea一创建或者打开项目就会提示这个。。。该怎么处理?
拜托大家了
ringa_lee
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.
Overwrite error is usually caused by the following rewriting error
<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 pluginspecified version.
Maven compile plugin
Set the maven compilation version. Otherwise, your maven compiled version will be changed to 1.5 every time
Reference: http://blog.csdn.net/high2011...
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.
Overwrite error is usually caused by the following rewriting error
Try using the
Maven compile plugin
specified version.Set the maven compilation version. Otherwise, your maven compiled version will be changed to 1.5 every time
Reference:
http://blog.csdn.net/high2011...