设置Intellij IDEA忽略部分类编译错误

File——Settings——Compiler——Java compiler
修改:
Use complier:将Javac改为Eclipse
在Eclipse Options中选中“Processed on errors”
IDEA忽略编译报错

设置Run/Debug Configurations

Run/Debug Configurations
Web项目,将“Before launch”设置为“Make,no error check”(默认应该是Make)
普通项目,将“Before launch”设置为“Build,no error build”(默认应该是Build)
IDEA忽略编译报错
参考:https://www.jianshu.com/p/b253e1a58f4b

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-11
  • 2021-07-27
  • 2021-11-06
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2021-08-27
  • 2021-11-24
相关资源
相似解决方案