I am packaging my Spring application into a war file to deploy to my tomcat server. When I put the war file in the tomcat6/webapps folder it auto-explodes, but some of my resource files still remain compressed.
For example I have a sinewave.raw and a audio.wav file in the src/main/resources folder. These files are available in the WEB-INF/classes/ folder in the war file, but they are still compressed and are corrupted.
Is there a better way I can package my project or store my resource files so that they are not corrupted when I deploy them.