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:

@Autowired
    private ResourceLoader resourceLoader;

resourceLoader.getResource("classpath:jwt.jks")

Option 2:

new ClassPathResource("jwt.jks")

How can I access this file?