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.
Next, we select Modules
to select each module->sources->Language leve
select 8-lambdas, type annotatlons etc.
If so After setting, it is still reporting an error, then
use the shortcut key ctrl+alt+s
to select build, Execution, Deployment->Compiler->Java Compiler-> set one by one