Spring+SpringMvc:解决事务无效问题

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/m0_38084243/article/details/99817064

spring-config.xml

    <!-- 启动包扫描功能 -->
	<context:component-scan base-package="com.ssh">
	</context:component-scan>

spring-servlet.xml

    <!-- 启动包扫描功能 -->
	<context:component-scan base-package="com.ssh">
		<context:exclude-filter type="annotation" 
			expression="org.springframework.stereotype.Service" />
	</context:component-scan>

猜你喜欢

转载自blog.csdn.net/m0_38084243/article/details/99817064
今日推荐