How to exclude a folder that is producing warnings/errors in an Eclipse project?

后端 未结 8 1431
长发绾君心
长发绾君心 2020-12-08 01:48

Okay. I\'m sick of this problem. This has to have an easy fix, I\'m sure of it!! I hope SO can help me to get rid of this once and for all!

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 02:28

    Since the files in the resource folder rarely change, I suggest to put them into a second project (where you can set different warning options) and then access that via a relative path (like ${basedir}/../special-tomcat).

提交回复
热议问题