Eclipse does not recognize static web content under src/main/resources/static <p>I am working on a Spring boot web project. I have an index.html file under <code>src/main/webapp</code>, and a .js file under <code>src/main/resources/static/js</code>.<p> Eclipse is complaining on the <code>&lt;script&gt;&lt;/script&gt;</code> inclusion inside the index.html file: Undefined Javascript file. The above is also the case for css files under <code>src/main/resources/static/css</code>.<p> In addition, I'm using wro to generate unified angularjs-bootstrap js and css files, which are generated under <code>target\generated-resources\static</code> and Eclipse cannot find them either. <p>Is there any way to configure Eclipse to include the above directories?</p>