81,092
社区成员
发帖
与我相关
我的任务
分享
<!-- 开启controller注解支持 -->
<!-- 注:如果base-package=com.tsh 则注解事务不起作用 TODO -->
<context:component-scan base-package="com.tsh.project.controller">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
对比你的配置文件。springmvc的配置的文件不是orm的配置文件