java,idea,maven的三个使用问题
ringa_lee
ringa_lee 2017-04-18 10:34:03
0
4
365

1.我使用的jdk是1.7,但是我的maven项目无论如何都会对@Override报错:

我设置了project level和preference中的complie level都没有用,maven的配置文件什么都没有写。。这种情况该怎么处理?配置如下:


2.为什么我的idea一创建或者打开项目就会提示这个。。。该怎么处理?

拜托大家了

ringa_lee
ringa_lee

ringa_lee

reply all(4)
迷茫

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.

左手右手慢动作

Set the maven compilation version. Otherwise, your maven compiled version will be changed to 1.5 every time

Reference:
http://blog.csdn.net/high2011...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template