title: Spring3.2 web project in tomcat 6 upgrade to tomcat 8,classpath*:/**/*.hbm.xml cannot be opend because it does not exists
body: <p>This's old project use Spring 3.2.4 Struts2 and Hibernate,run in Tomcat6.Now change use jdk1.8 Tomcat6 is no problem,but use Tomcat8 have some problem,it's about as follows.
      In sessionFactory config  name mappingResources use  asterisk wildcard to find hbm.xml file,the console have Error cannot be opened because it dose not exist.
      How can i resolve this problem?Please answer me thank you very much.</p>
  
  <p>Code：</p>
  
  <pre><code>&lt;property name="mappingLocations"&gt;
      &lt;value&gt;classpath*:/**/*.hbm.xml&lt;/value&gt;
  &lt;/property&gt;
  </code></pre>