ssh整合中出现的问题

hibernate和Spring整合的时候找.hbm.xml文件的时候会报错,无法解析 com/domain/*.hgm.xml文件,因为是在classpath根路径下找到的<property name="mappingLocations" value="classpath:com/ssh/domain/*.xml"/>

Struts2和Spring整合的时候不要过早的导入struts2-spring-plugin-2.1.8的jar包,会报错,要等到在Spring中集成的时候再导入。

猜你喜欢

转载自www.cnblogs.com/java-jiangtao-home/p/10162778.html
今日推荐