title: Escape property reference in Spring property file
body: <p>I want to escape my Spring propeties file in order to get in my bean property: <code>${ROOTPATH}/relativePath</code></p>
  
  <p>I have a simple Spring config file that contains:</p>
  
  <pre><code>&lt;context:property-placeholder location="classpath:myprops.properties" /&gt;
  
  &lt;bean id="myBean" class="spring.MyBean"&gt;
      &lt;property name="myProperty" value="${myproperty}" /&gt;
  &lt;/bean&gt; 
  </code></pre>
  
  <p>The <code>myprops.properties</code> contains:</p>
  
  <pre><code>myproperty=\${ROOTPATH}/relativePath
  </code></pre>
  
  <p>The above setup returns: <em>Could not resolve placeholder 'ROOTPATH'</em>. I tried a lot of possible syntaxes but was not able to find the right one.</p>