Intellij IDEA 出現“Usage of API documented as @since 1.6+”的解決辦法



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> 



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章