title: Prevent Spring Boot from holding file lock on static content
body: <p>From the spring boot <a href="http://docs.spring.io/spring-boot/docs/1.0.1.RELEASE/reference/htmlsingle/#boot-features-spring-mvc-static-content" rel="nofollow noreferrer">documentation on static content</a>:</p>
  
  <p>"By default Spring Boot will serve static content from a folder called
  <code>/static</code> (or <code>/public</code> or <code>/resources</code> or <code>/META-INF/resources)</code> in the
  classpath or from the root of the ServeltContext [sic]"</p>
  
  <p>To take advantage of this behavior, I added a <code>static</code> folder to <code>src/main/resources</code>.  Sure enough, Spring Boot serves up this static content.  It looks something like this in Eclipse:</p>
  
  <p><img src="https://i.stack.imgur.com/ZP24l.png" alt="enter image description here"></p>
  
  <p>Spring Boot must somehow hold a file lock on the static content once served, however, because whenever I change static content, I get an Eclipse project error like so:</p>
  
  <p><img src="https://i.stack.imgur.com/Ijlk3.png" alt="enter image description here"></p>
  
  <p>I have to stop the application in order to get the project to build which is REALLY annoying!  Anybody have a solution to this?</p>