Deployed Tomcat inside IDEA throws access denied exception

Hi all,

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. D:\Java\Projects\shawn1\out\artifacts\shawn1_war_exploded (Access is denied) Method)<init>(<init>(<init>(

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?

1 comment
Comment actions Permalink

Forget it. I figured it out. It was a problem with the WEB.XML. ;)


Please sign in to leave a comment.