In the very first post, it looks to me like your code is using in the same folder as the one where the class AudioLoader sits as the base folder.
If ResourceLoader is in ‘src’ then the code is looking in src/res/… etc., which doesn’t exist. From your diagram, it looks like /res is a neighbor to /src. Yes?
Thus, maybe “…/res/sounds/zhurt0.wav” would work.
BUT it looks like you tried the valid alternative suggestion of putting res in the src folder and got a new error message. The new message mentions “input stream” which reminds me of an error which surfaced in Java 7 and caused me a fair bit of grief to figure out.
In Java7’s audio library (javax.sound.sampled.*), if you try to load a wav to an InputStream, and then load the InputStream to an AudioInputStream, you will likely generate a “Mark/Reset” error, because wav files are not usually markable and resetable (a requirement of InputStreams). Fortunately, Java Audio lets you load an AudioInputStream directly from a File or URL directly, rather than from an InputStream.
Since the error mentions being unable to read from the InputStream, I am wondering if the code is creating an intermediate “InputStream” that is generating the Mark/Reset error.
So, I do a quick search on “ResourceLoader Slick” and see that that the code you are using is standard Slick library stuff. Since this is a standard Slick usage example, scratch that idea. I would be really surprised if the coders of a well-used library like Slick hadn’t accounted for this known error. (I hope that little digression wasn’t too unhelpful.)