search

Home  >  Q&A  >  body text

intellij-idea - eclipse可以直接看到jsp的编译错误, 为什么Intellij看不到

打开项目,eclipse应该有自动编译功能,可以看到jsp有红叉显示,代表调用的一个Java函数不存在。但是在Intellij打开却看不到。

迷茫迷茫2799 days ago684

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-21 11:19:33

    1) This is not automatic compilation, but static analysis of the code.
    2) Idea’s static analysis is still very powerful. Check to see if your theme does not support warnings or if the background of the warning you set is consistent with the theme color
    3) Check whether the corresponding static analysis function is enabled in Editor->Inspections.

    reply
    0
  • PHPz

    PHPz2017-04-21 11:19:33

    It’s ok. . . . If there is an error in the install before running the code, an error will be reported. In addition, when you write the code, if there is a problem with the code, such as there is no such type or the jar package is missing, there will be a prompt. . .

    reply
    0
  • Cancelreply