Spring Boot How to Access a Resource File

I try to set a JKS for the jwt access token converter. The necessary file is in resources folder, but I get class path resource [jwt.jks] cannot be opened because it does not exist error.

picture I tried 2 different options and both showed the same error.

Option 1:

    private ResourceLoader resourceLoader;


Option 2:

new ClassPathResource("jwt.jks")

How can I access this file?