springboot在启动jar由于配置hibernate的映射文件上classpath导致的!BOOT-INF/classes/!路径出现!号问题解决方法
<property name="mappingLocations">
<list>
<value>classpath:/com/supwisdom/framework/domain/</value>
<value>classpath:/org/supwisdom/system/pojo/</value>
<value>classpath:/org/supwisdom/quartz/domain/</value>
<value>classpath:/org/supwisdom/service/tagging/domain/</value>
<value>classpath:/org/supwisdom/service/appservice/domain/</value>
<value>classpath:/org/supwisdom/service/evaluate/domain/</value>
</list>
</property>
改为下面形式:
<property name="mappingLocations">
<list>
<value>classpath:/com/supwisdom/framework/domain/*.hbm.xml</value>
<value>classpath:/org/supwisdom/system/pojo/*.hbm.xml</value>
<value>classpath:/org/supwisdom/quartz/domain/*.hbm.xml</value>
<value>classpath:/org/supwisdom/service/tagging/domain/*.hbm.xml</value>
<value>classpath:/org/supwisdom/service/appservice/domain/*.hbm.xml</value>
<value>classpath:/org/supwisdom/service/evaluate/domain/*.hbm.xml</value>
</list>
</property>