I want to inject the URL of a classpath resource in a way that does not create a dependency on Spring in the Bean. Meaning, the bean should not use Spring\'s interfaces/clas
Spring is able to convert classpath:... values into java.net.URL implicitly:
classpath:...
java.net.URL
public class Foo { private URL url; ... }
.