Ensure the resource is located in the same folder as your compiled classes. I don't use Eclipse, but Netbeans automatically creates a "classes" folder upon build. Classes that are in a package, i.e. org.website.PDFReader
, will have a set of subdirectories under the 'classes' folder, following the fully qualified name of the class (i.e. package name + class name). Regardless, the 'parent directory' for these packaged classes is still the 'classes' folder.
For the time being, place your resources in that classes folder manually. There is almost certainly a way to make Eclipse automatically copy resources into the appropriate folder upon build (see below).
Finally, in your code, remove the leading "/" from "/Project/..."
When you remove that leading "/", it makes the resource location relative to the parent directory of your Class's class loader - in this example, the 'classes' folder. Keeping that forward-slash makes the resource location 'absolute' - not relative to any parent directory.
Edit: The following question should help out with the more Eclipse-specific details of this process: Java in Eclipse: Where do I put files on the filesystem that I want to load using getResource? (e.g. images for an ImageIcon). Make sure to check out the first comment on the accepted answer, as well.