摘要:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered 阅读全文
随笔档案-2022年08月
【SpringBoot】springProject‘org.springframework.boot:spring-boot-starter-parent:2.x.x‘ not found
2022-08-31 10:39 by ly772186472, 361 阅读, 收藏, 编辑
摘要:
IDEA中搭建Spring体系,maven子项目引入父项目,子项目的pom文件和maven插件中会提示红色错误: EA默认会缓存Maven本地库中的依赖项,导致引入的依赖版本在仓库中没找到。 IDEA之所以快,就是因为IDEA打开新的工程的时候,它会构建项目索引以及生成相关缓存。如果IDEA缓存被破 阅读全文
docker+nginx 安装
2022-08-29 17:27 by ly772186472, 279 阅读, 收藏, 编辑
摘要:
删除容器 docker rm -f + 容器id 进入容器内部: docker exec -it nginx bash # 直接执行docker rm nginx或者以容器id方式关闭容器 # 找到nginx对应的容器id docker ps -a # 关闭该容器 docker stop nginx 阅读全文
docker 删除镜像时报错Error response from daemon: conflict: unable to delete xxx (must be forced) -
2022-08-29 14:34 by ly772186472, 2276 阅读, 收藏, 编辑
摘要:
Error response from daemon: conflict: unable to delete daff57b7d2d1 (must be forced) - image is referenced in multiple repositories 方法一:删除时不要使用 image 阅读全文
docker安装mysql时f5665aa206a6 mysql:5.7.39 "docker-entrypoint.s…" 2 hours ago Exited (1) 5 minutes ago
2022-08-29 14:32 by ly772186472, 299 阅读, 收藏, 编辑
摘要:
f5665aa206a6 mysql:5.7.39 "docker-entrypoint.s…" 2 hours ago Exited (1) 5 minutes ago 实际上这是运行之后的结果,但是正常情况来说,使用 docker ps 就可查看运行中的容器,但这个运行后需要通过 docker 阅读全文
虚拟机遇到问题
2022-08-29 10:58 by ly772186472, 34 阅读, 收藏, 编辑
摘要:
"WARNING: IPv4 forwarding is disabled. Networking will not work."解决方法:# 向配置文件 /etc/sysctl.conf 中追加如下内容,如果已经存在则把值改为1 (0表示禁止进行IP转发,1表示IP转发功能已经打开,系统初始状态下 阅读全文
java问题
2022-08-29 10:53 by ly772186472, 23 阅读, 收藏, 编辑
摘要:
Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework. 阅读全文
项目描述
2022-08-29 10:52 by ly772186472, 204 阅读, 收藏, 编辑
摘要:
**** 是一个网络借贷信息中介服务平台,为个人投资者、个人融资用户和小微企业提供专门的线上信贷及出借撮合服务 行业案例:人人贷 www.renrendai.com 拍拍贷:www.paipaidai.com 第一部: 项目介绍和前后端核心框架 第二部: 项目基本功能的实现 第三部:springcl 阅读全文
Mybaits-plus-注解和查询
2022-08-29 10:44 by ly772186472, 43 阅读, 收藏, 编辑
摘要:
Springboot数据库连接:mysql 8及以上版本: com.mysql.cj.jdbc.Driver 以下版本:去掉cj MyBatisPlus Annotation( 注解) extension(扩展) generation(代码生产器) 运行原理: 首先通过 Entity(实体)也就是平 阅读全文
前端学习3-4
2022-08-29 08:57 by ly772186472, 19 阅读, 收藏, 编辑
摘要:
5、声明对象简写 let username = 'Tom' 2 let age = 2 3 let sing = function () { 4 console.log('I love Jerry') 5 } 6 7 // 传统 8 let person1 = { 9 username: usern 阅读全文
node常用问题
2022-08-28 21:06 by ly772186472, 9 阅读, 收藏, 编辑
摘要:
http://localhost:9527/localhost:8100/admin/core/integralGrade/list 出现这个问题原因是: 地址错了 http://localhost:8100 #VUE_APP_BASE_API = '/dev-api'VUE_APP_BASE_AP 阅读全文
dcoker+mysql+安装
2022-08-27 11:28 by ly772186472, 20 阅读, 收藏, 编辑
摘要:
1:通过docker ps 指令查看启动状态 docker ps -a | grep mysql-a :显示所有的容器,包括未运行的。grep (缩写来自Globally search a Regular Expression and Print)是一种强大的文本搜索工具ps 附件 1:拉去指定版本 阅读全文
docker+ redis+安装r docker update --restart=always mysql
2022-08-27 10:42 by ly772186472, 162 阅读, 收藏, 编辑
摘要:
注意将 一个redis.conf 文件复制到对应的文件夹下 命令: 1:通过docker ps 指令查看启动状态 docker ps -a | grep myredis 2: 进入容器 docker exec -it myredis redis-cli 如果有密码 auto 密码 退出redis容器 阅读全文
springbott配置mysql遇到的问题
2022-08-26 13:37 by ly772186472, 30 阅读, 收藏, 编辑
摘要:
这个一般都是配置问题: 我是mysql配置出问题了 driver-class-name= spring.datasource.driver=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/db200 阅读全文
Resource和Autowired区别
2022-08-26 08:58 by ly772186472, 80 阅读, 收藏, 编辑
摘要:
遇到的问题: Could not autowire. No beans of 'UserMapper' type found. 解决方案: 将@Autowired 改为@Resuorce 个人理解: 因@Autowired 是按照byType装配的,mybaits-plus 没有实现类pojo,而是 阅读全文