code: public static Try<URL> getResourceURL(final String resourceRelativePath) {
          final ClassLoader classLoader = Resources.class.getClassLoader();
          return Try.of(() -> classLoader)
                    .map(cl -> cl.getResource(resourceRelativePath))
                    .map(Objects::requireNonNull)
                    .mapFailure(
                        Case(
                            $(err -> err instanceof NullPointerException || err instanceof NoSuchFileException),
                            err -> new IllegalArgumentException(
                                "Error loading file at: " + getBaseURL().toExternalForm() + resourceRelativePath,
                                err
                            )
                        )
                    );
      }
docs: This method gets the {@link Path} associated to a classpath-located file.
  
  @param resourceRelativePath The path from the root of the classpath (target/classes/ in a maven project)
  
  @return The path associated with resource at said relative path to classpath.