- 博客(6)
- 收藏
- 关注
原创 【Redis】SpringBoot整合Redis
一、引入pom.xml依赖 <!-- 序列化 --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency
2021-11-22 21:12:59
181
原创 【MyBatis】@Param注解参数封装map的过程
方法调用EmployeeMapper.xml 文件:EmployeeMapper.java 接口测试方法中进行Debug测试,分析实现流程过程分析
2021-08-29 15:00:37
613
原创 【maven-spring】IDEA加载使用JdbcTemplate连接数据库时出现java.sql.SQLException: The server time zone...UTC时区异常
问题描述:使用JdbcTemplate连接数据库时出现java.sql.SQLException异常:java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' conf.
2021-08-22 19:31:27
313
原创 【maven-spring】IDEA中找不到@Resource注解的问题
问题描述:使用@Resource实现属性注入时,发现找到不到@Resoure注解原因分析:@Resource 注解是由特定的【javax.annotation-api】包提供解决方案:从 Maven Repository 网站中找到相关包的版本并在 pom.xml 配置文件中添加依赖<dependency> <groupId>javax.annotation</groupId> <artifactId>javax.a...
2021-08-21 20:01:13
4085
3
原创 【maven-spring】IDEA加载spring配置文件使用ApplicationContext找不到xml文件的问题
问题描述:使用IDEA中创建maven,添加完spring所需依赖并创建完bean1.xml后加载spring配置文件并获取配置的对象时出现异常:org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [bean1.xml]; nested exception is java.io.FileNotFound...
2021-08-18 16:08:47
753
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅