IDEA compile successfully many errors still occur

Posted daniel123

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于IDEA compile successfully many errors still occur的主要内容,如果未能解决你的问题,请参考以下文章

Idea 出现 Error:java: Compilation failed: internal java compiler error

idea--internal java compiler error

IntelliJ Idea 找不到 sbt-idea-compiler-indices

IDEA Error:java: Compilation failed: internal java compiler error

(Idea) Error:java: Compilation failed: internal java compiler error

IDEA 不能正确反编译 class /* compile ... */