Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ClassPathResource directory resolution fails in intellij #6483
When specifying a relative url in ClassPathResource such as:
ClassPathResource classPathResource = new ClassPathResource("hadoop-2.7.1/bin/");
The problem with this approach is the relative path resolves to the wrong directory like:
What this should do is resolve to the resources directory in a different module.