在使用Idea过程中,遇到以下错误
Usage of API documents as @since 1.6+
This inspection finds all usages of methods that have@since tag in their documentation.
This may be useful when development is performed under newer SDK version as the target platform for production.
大意是说该接口是从Java6开始的,而我们的Language level不够,Language level为最低支持版本
按下面步骤
找到Project Structure→Modules→Language level