摘要:
整合jUnit4 1.引入依赖 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.2.6.RELEASE</version> </dependency 阅读全文
posted @ 2023-02-23 23:18
iTao0128
阅读(79)
评论(0)
推荐(0)
摘要:
1.创建配置类 package spring.config; import com.alibaba.druid.pool.DruidDataSource; import org.springframework.context.annotation.Bean; import org.springfra 阅读全文
posted @ 2023-02-23 22:40
iTao0128
阅读(26)
评论(0)
推荐(0)
摘要:
1.在spring配置文件中进行配置 ①配置事务管理器 ②配置通知 ③配置切入点和切面 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xs 阅读全文
posted @ 2023-02-23 21:48
iTao0128
阅读(63)
评论(0)
推荐(0)

浙公网安备 33010602011771号