- 博客(8)
- 收藏
- 关注
原创 2020-12-28
springboot配置druid数据源依赖DruidConfig 依赖 com.alibaba druid 1.1.21 log4j log4j 1.2.12 # application.yml spring: datasource: username: root password: 12
2020-12-28 18:53:17
93
原创 2020-12-27
ssm整合数据库依赖配置文件web.xmlapplicationContext.xmldatabase.propertiesmybatis-config.xmlspring-dao.xmlspring-mvc.xmlspring-service.xmljavacom.kuang.controllerBookControllercom.kuang.serviceBookServiceBookServiceImplcom.kuang.daoBookMapperBookMapper.xmlcom.kuang.po
2020-12-27 15:45:09
98
原创 2020-12-23
动态代理ClientHostProxyInvocationHandlerRent Client package com.kuang.demo; public class Client { public static void main(String[] args) { //真实角色 Host host = new Host(); //代理角色不存在 ProxyInvocationHandler pih = new ProxyInvoc
2020-12-23 15:59:30
72
原创 2020-12-23
log4j.properties #将等级为DEBUG的日志信息输出到console和file这两个目的地,console和file的定义在下面的代码 log4j.rootLogger=DEBUG,console,file #控制台输出的相关设置 log4j.appender.console = org.apache.log4j.ConsoleAppender log4j.appender.console.Target = System.out log4j.appender.console.Thresho
2020-12-23 15:31:55
57
1
原创 2020-12-23
springMVC依赖配置文件 依赖 <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.1.9.RELEASE</version>
2020-12-23 15:26:15
53
原创 2020-12-23
springspring整合mybatis依赖配置文件两个实现类 spring整合mybatis 依赖 <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version>
2020-12-23 08:56:32
61
原创 2020-12-22
Mybatis依赖 依赖 <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.47</version> </dependency&g
2020-12-22 17:14:52
207
原创 2020-12-22
maven静态资源过滤问题 <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include>
2020-12-22 17:14:03
52
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人