This works for me:
Put robots.txt right below the webapp
In mvc-dispatcher-servlet.xml there is:
<mvc:default-servlet-handler/>
<mvc:resources mapping="/resources/**" location="/, classpath:/META-INF/web-resources/" />
Use maven to create your war
source share