The maven project code in Intellij Idea reports an error: Usage of API documented as @since 1.8+

The reason for this error is because I had nothing to do today and watched some time operations of jdk8. The
result was an error in iead during the operation. Usage of API documented as @since 1.8+

After consulting the information:
this can be done
. Use the shortcut key ctrl+alt+shift+s and the following interface will appear.
write picture description here
Next, we select Modules
write picture description here
to select each module->sources->Language leve
write picture description here
select 8-lambdas, type annotatlons etc.
If so After setting, it is still reporting an error, then
use the shortcut key ctrl+alt+s
write picture description here
to select build, Execution, Deployment->Compiler->Java Compiler-> set one by one
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325812346&siteId=291194637