随笔分类 -  踩坑日记

SpringSecurity自定义登录页面跳转时访问页面302
摘要:1 问题原因 登录时报302 2 SecurityConfig 配置 关闭 csrf 跨站请求伪造 还是报错 package com.mangoubiubiu.security.config; import org.springframework.context.annotation.Bean; i
1086
1
1
[ERR] Node 192.168.117.134:6379 is not empty. Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in database 0.
摘要:1、问题描述:redis 集群启动报错 2、解决方案 重启 在redis src 目录下执行 redis-cli --cluster create --cluster-replicas 1 192.168.117.134:6379 192.168.117.134:6380 192.168.117.1
563
0
0
ERROR in ch.qos.logback.core.joran.spi.Interpreter@73:41 - no applicable action for [AppenderRef], current ElementPath is [[Configuration][Loggers][Root][AppenderRef]]
摘要:1、错误原因 SpringBoot 引入 rocketmq-spring-boot-starter 报错 2、解决方案-排除依赖 <dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-spring-boot-
1185
0
0
springboot+mybatis-plus+mysql+Apollo 插入中文乱码
摘要:技术:SringBoot+mybatis-plus+mysql + Apollo配置中心,mysql 在docker上 1 问题分析 Junit 测试插入数据中文乱码 2 问题排查 一丶 怀疑是mysql编码有问题 进入docker容器 sudo docker exec -it 679 bash 6
343
0
0
maven 手动将 jar 包导入本地仓库
摘要:1 问题分析 jar 包下不下来 ,下不到本地maven 仓库(阿里云镜像) 2 解决方案 一 去maven官方仓库手动下载jar包 二 打开cmd 或者git 命令窗口输入 $ mvn install:install-file -DgroupId=com.github.kuhn-he -Darti
152
0
0
Forbid consumer 10.1.xx.xx access service com.xx.xx.service
摘要:使用dubbo 调同事的提供者报这个错。网上百度了一下 报错原因就几个 1丶消费者 和 提供者的指定的version 版本 不一样 2丶注册中心地址写错 3丶dubbo控制台把消费方给禁掉了 4丶提供者没起起来 最后发现同事的提供者确实没起起来
137
0
0
java.lang.RuntimeException: Lock failed,MQ already started
摘要:1 slave 启动失败 2 解决方案 我的 master 和slave 在同一台机上 这个 存储路径用的同一个 将slave 的存储路径 换了就启动成功了
825
0
0
RocketMQ NameServer 启动失败
摘要:1 问题描述 在 bin 目录下输入启动命令后 nohup sh mqnamesrv & 再查看日志 tail -f ~/logs/rocketmqlogs/namesrv.log 发现没有这个文件 输入 jps 后发现没有也NameServer 运行 2 解决方案:解决方案很诡异 1 删掉之前的r
924
1
1
[Vue warn]: Unknown custom element: - di
摘要:解决方案 main.js 中引入 import Element from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.use(Element) 成功解决
419
0
0
boot-01-heloworld-1.0-SNAPSHOT.jar中没有主清单属性
摘要:1 maven 打包后 运行 java -jar xxx.jar 报错 2 解决方案 pom 增加 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven
64
0
0
Mybatis-plus 主键 类型 为 Long 查询时 会多三个 零
摘要:1 问题描述 2 解决方案 将Long 改为String 就可以了
49
0
0
Cannot locate specified Dockerfile: Dockerfile
摘要:1丶错误信息 :无法定位到Dockerfile 2丶解决方案 : 看路径是否写对 看Dockerfile 是否写对 3丶SUCCESS :
2074
0
0
Transfer failed for https://maven.aliyun.com/repository/public/org/apache/maven/plugins/maven-resour
摘要:1丶问题分析 gitlab 容器内部 mvn install 出错 一开始我还以为是远程仓库的url不行 于是疯狂修改settings.xml 结果还是不行, 然后猜测可能是容器内部没有网 ,百度 修改dns 配置 vi /etc/resolv.conf nameserver 114.114.114
2768
0
0
gitlab clone 地址 不对
摘要:1丶问题描述 2丶解决方案 1丶进入容器内部 docker exec -it 容器id bash 2丶编辑gitlab.yml vi /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml 3丶此时看到罪魁祸首 修改ip地址 改为正确的
199
0
0
Please run `sudo gitlab-ctl reconfigure` to fix it and try again.
摘要:1gitlab 安装出错 在GITLAB_OMNIBUS_CONFIG 后加个 |
407
0
0
An attempt was made to call a method that does not exist. The attempt was made from the following location:
摘要:1,SpringBoot 项目启动报错 *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a met
9164
0
0
java.sql.SQLException: Access denied for user ''@'192.168.56.1' (using password: NO)
摘要:1,yml 配置数据源 连接mysql 出错:java.sql.SQLException: Access denied for user ''@'192.168.56.1' (using password: NO) 2,解决方案 将 data-username 的 data- 去掉
365
0
0
Vagrant 安装踩坑
摘要:1 Vagrant(2.2.5) 和VirtualBox (6.1)版本不匹配导致 Vagrant up 时报错 解决方案 :https://blog.csdn.net/weixin_43838639/article/details/106210459 2 官方镜像下载慢 可以换中科大的镜像 vag
73
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起