“Usage of API documented as @since 1.8+”报错的解决办法

出现如图错误:
在这里插入图片描述
报错信息:
Usage of API documented as @since 1.8+ less… (Ctrl+F1)
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

出现场景
IDEA 编译中出现
原因:jdk版本跟编译使用版本不一致导致

解决方案:
project 的pom文件中添加

1.8
UTF-8

“Usage of API documented as @since 1.8+”报错的解决办法_第1张图片

你可能感兴趣的:(“Usage of API documented as @since 1.8+”报错的解决办法)