title: Setting a property to use a classpath in application.properties
body: <p>I'm trying to set a property, as a path to a file in my resources folder, in my application.yml</p>
  
  <p>But Java treats the classpath prefix as part of the string.</p>
  
  <p>I've tried multiple ways of getting this path into my program (obviously not all at once).</p>
  
  <pre><code>keytab-path: classpath:/resources/krb5.keytab
  keytab-path: classpath:/krb5.keytab
  keytab-path: classpath:krb5.keytab
  keytab-path: classpath*krb5.keytab
  </code></pre>
  
  <p>I can assert the property is definitely injected into my code, but it just has an issue with treating 'classpath' as a literal part of the string.</p>
  
  <p>I have success in my code by injecting sql files using the <code>classpath:sql/foo.sql</code> with an <code>@Sql</code> tag. </p>
  
  <p>Is there a way application.yml can interpret a classpath?</p>