当我跑mvn clean compile
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.0.6</version>
</dependency>
</dependencies>
</plugin>
我一直在尝试将MissingOverride
其作为错误启用,或者实际上只是为了发出任何东西,对于初学者来说,我需要更改什么才能看到“警告”的输出,那么我应该怎么做才能MissingOverride
成为错误?