摘要:
2023-09-07 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta 阅读全文
posted @ 2023-09-07 17:09
努力是一种常态
阅读(327)
评论(0)
推荐(0)
摘要:
2023-09-07 注意:spring整合junit中的依赖要和spring-context的依赖版本相一致 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> 阅读全文
posted @ 2023-09-07 15:11
努力是一种常态
阅读(56)
评论(0)
推荐(0)
摘要:
2023-09-07 jdbc.properties 注意里面的url中此时里面书写的是&而不是转移之后的,以及要注意数据库的名称是否存在 jdbc.driverClassName=com.mysql.cj.jdbc.Driver jdbc.url=jdbc:mysql://localhost:33 阅读全文
posted @ 2023-09-07 14:59
努力是一种常态
阅读(104)
评论(0)
推荐(0)
摘要:
2023-09-07 package com.hh.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configura 阅读全文
posted @ 2023-09-07 12:18
努力是一种常态
阅读(23)
评论(0)
推荐(0)
摘要:
2023-09-07 applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http:// 阅读全文
posted @ 2023-09-07 11:54
努力是一种常态
阅读(43)
评论(0)
推荐(0)
摘要:
2023-09-07 applicationContext.xml 步骤: 需要设置命名空间 设置jdbc.properties的占位符 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.o 阅读全文
posted @ 2023-09-07 10:23
努力是一种常态
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号