ssm整合@ContextConfiguration(locations 问题
idea中file路径应该这样配置
@ContextConfiguration(locations = {"classpath:applicationContext.xml", "classpath:WEB-INF/dispatchServlet-servlet.xml"})
spring和mybatis整合配置文件
<!-- 配置和mybatis的整合-->
<bean id="sqlSessionFactory" class="org.mybatis.sp..
原创
2021-02-22 21:46:43 ·
931 阅读 ·
0 评论