摘要:
写在pom.xml的<build></build>之中 <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xm 阅读全文
posted @ 2021-10-28 15:29
起风云散
阅读(8)
评论(0)
推荐(0)
摘要:
import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apa 阅读全文
posted @ 2021-10-28 15:19
起风云散
阅读(67)
评论(0)
推荐(0)
摘要:
存放在resources目录下 driver = com.mysql.jdbc.Driver url = jdbc:mysql://localhost:3306/mybatis?useSSL=false&useUnicode=true&characterEncoding=utf8 username 阅读全文
posted @ 2021-10-28 15:17
起风云散
阅读(50)
评论(0)
推荐(0)
摘要:
Spring的配置文件beans.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/20 阅读全文
posted @ 2021-10-28 14:50
起风云散
阅读(50)
评论(0)
推荐(0)
摘要:
将其写在pom.xml文件的<dependencies></dependencies>之中 使用Spring需要导入的jar包 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifac 阅读全文
posted @ 2021-10-28 14:46
起风云散
阅读(77)
评论(0)
推荐(0)

浙公网安备 33010602011771号