IDEA compile successfully many errors still occur

Compile and install successfully with maven in IDEA, but error prompt still popup.

  1. Your local environment doesn’t have compilation error already
  2. it is caused by highlighting level

solution:Analyze->configure current File Analysis ->Syntax

right click -> analyze - > configure current…

  1. it is caused by code inspection

settings->Editor -> Code Style->Inspection

  1. it is probably because of reimport action

Maven Project->Project Name->right Click->reimport

Guess you like

Origin www.cnblogs.com/daniel123/p/11925441.html