My web application reads files under its own context. With a normal manual deploy this works fine since the files are all stored under the tomcat webapps folder. However in IDEA the deployer keeps the files in my project folder so when I reference a file I get access is denied.
java.io.FileNotFoundException: D:\Java\Projects\shawn1\out\artifacts\shawn1_war_exploded (Access is denied)
Is there anyway to tell the tomcat deployer to copy the files in the the tomcat webapps folder or to tell tomcat that this folder is OK for reading?