Intellij IDEA 出现“Usage of API documented as @since 1.6+”的解决办法

xiaoxiao2021-02-28  84

File > Project Structure > Project Settings > Modules > your Module name > Sources > Language Level > choose the one which you need.

或者在pom 添加

<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.0</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>

转载请注明原文地址: https://www.6miu.com/read-78982.html

最新回复(0)