- 博客(12)
- 收藏
- 关注
原创 idea 连接不上 github
idea 连接不上 github打开 ideaFile->Setting->Appearance&Behavior->System Setting->HTTP Proxy 设置代理或者 选择Auto-detect
2023-07-06 22:04:58 390
原创 idea clone github 项目到本地并切换分支查看
new project 选择Get from Version Control,选择 Github,选择 log in,弹出 github 登录授权,成功后回到 idea,将github仓库首页的地址复制上去clone到本地即可。view->Tool Windows->Git 即可打开git 版本控制工具窗口。
2023-07-06 21:29:10 306
原创 Spring Boot 整合redis:Could not autowire. No beans of ‘RedisConnectionFactory‘ type found.
Could not autowire. No beans of 'RedisConnectionFactory' type found.
2023-05-04 13:28:07 1014
原创 使Redis可以远程访问
redis 默认只可本地访问,要使Redis可以远程访问,需修改redis对应的配置文件;即安装目录下的 redis.windows.conf。2. 将redis默认的守护关闭,修改protected-mode yes 为 protected-mode no。1. 注释掉本地连接对应的 bind 127.0.0.1。
2023-05-02 17:04:36 455
原创 mapper-location,@Mapper,@MapperScan区别
Mapper,@MapperScan:效果一样,但是@Mapper注解需要在每个 Mapper 都加上,@MapperScan只要在 Spring Boot 的启动类上配置一次Mapper路径即可实现所有Mapper的容器注入。mapper-location:扫描Mapper接口对应的XML文件。在命名不同或所在路径不同时使用 (如果相同则不用配置,配置也不生效)
2023-04-06 11:30:17 508 1
原创 mysql url报错时区问题
问题描述: 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' configuration property) to use a more specifc time zone value if you want to u
2023-04-05 00:52:25 149
原创 无法访问org.springframework.boot.SpringApplication错误的类文件:
错误的类文件: /D:/java/Maven/maven-repository/org/springframework/boot/spring-boot/3.0.2/spring-boot-3.0.2.jar!解决:更改springboot3.0.2版本为springboot2.7.8,因为springboot3只支持jdk17以上。请删除该文件或确保该文件位于正确的类路径子目录中。
2023-04-02 16:54:59 1212 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人