I am trying to read the contents of a file from a folder in my eclipse maven project (src/main/resources). The file gets built into WEB-INF/classes in the war and deployed to my JBoss AS7 instance.
I have been trying to access the file from the classpath. getClass().getResource() or getResourceAsStream() however it returns a location that does not exist, C:\windows\system32\content...WEB-INF/classes. As you might expect my file does not exist at this location. I have been reading about snowdrop and have added;