随笔分类 -  解决方案

Bug记录,项目问题,IDE镜像源加速
摘要:1、问题 error: update_ref failed for ref 'refs/heads/master': cannot lock ref 'refs/heads/master': is at 63654e79f7ae0f902731558b3ae6679a69db09e9 but exp 阅读全文
posted @ 2022-07-28 20:21 Code7Rain 阅读(3168) 评论(0) 推荐(0)
摘要:1、问题 There are pending unresolved conflicts.Then you may continue rebase. 2、场景 冲突合并代码时, 只合并了部分功能的代码,部分 abort 3、原因 冲突合并代码时, 只合并了部分功能的代码 4、解决方案 参考文章 ==待 阅读全文
posted @ 2022-07-28 20:21 Code7Rain 阅读(3035) 评论(0) 推荐(0)
摘要:1、问题 #FailureMessage Object: 000000D8824FD510npm ERR! code ELIFECYCLE npm ERR! errno xxxxxxxxx npm ERR! admiXXXX npm ERR! Exit status xxxxxxxxx npm ER 阅读全文
posted @ 2022-07-21 19:00 Code7Rain 阅读(1313) 评论(0) 推荐(0)
摘要:1、问题 nvm运行 nvm use xxx 命令时报错 exit status 1: ��û���㹻��Ȩ��ִ�д˲����� 2、场景 项目需要切换 nodejs 版本,但是使用cmder 切换报错,于是使用 cmd 非管理员命令行进入,切换也报错。 3、原因 查找方案描述到应该是权限问题 4 阅读全文
posted @ 2022-07-21 18:58 Code7Rain 阅读(347) 评论(0) 推荐(0)
摘要:1、问题 null, message from server: "Host '183.213.81.72' is not allowed to connect to this MySQL server" 2、场景 使用 Dbeaver 连接阿里云服务器的MySQL时发现报错 3、原因 mysql数据 阅读全文
posted @ 2022-07-13 21:55 Code7Rain 阅读(435) 评论(0) 推荐(0)
摘要:背景 为了接口联调更加方便快捷,前后端可以通过连接同一个局域网对接,作为后端给前端朋友访问自己的电脑后端项目接口(如8080) 当然网上有一些粗暴手段,直接把防火墙关闭,以及将自己的电脑所有接口暴露局域网内,虽说便捷,但是很不安全。 设置某些ip访问的电脑通过指定端口(如8080)访问我的电脑这样才 阅读全文
posted @ 2022-07-12 19:34 Code7Rain 阅读(8477) 评论(0) 推荐(0)
摘要:1、问题 关联问题(不过关联问题是containerId字段在xml中写错了,应该写container_id) ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'containe 阅读全文
posted @ 2022-07-07 18:13 Code7Rain 阅读(370) 评论(0) 推荐(0)
摘要:1、问题 Error running 'RuoYiApplication' Error running RuoYiApplication. Command line is too long. Shorten the command line via JAR manifest or via a cla 阅读全文
posted @ 2022-07-07 18:11 Code7Rain 阅读(2358) 评论(0) 推荐(0)
摘要:1、问题 开发的接口前端调用时删除报错,怎么删除都提示删除不成功,刚开始以为是方法不对。 2、场景 若依框架下使用 mybatis-plus 的批量删除方法,删除接口报错,第一次点击删除,显示删除成功,但是列表仍然存在,之后点击显示删除失败。 3、原因 经过前后端联调,如下图发现如下,list接口中 阅读全文
posted @ 2022-07-07 18:05 Code7Rain 阅读(451) 评论(0) 推荐(0)
摘要:1、问题 ### Error updating database. Cause: java.sql.SQLException: Field 'parent_id' doesn't have a default value ### The error may exist in com/ruoyi/xx 阅读全文
posted @ 2022-07-07 18:01 Code7Rain 阅读(239) 评论(0) 推荐(0)
摘要:1、问题 vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in created hook: "TypeError: this.$api.listRole is not a function" found in > <Role> at src/views/x 阅读全文
posted @ 2022-07-07 18:01 Code7Rain 阅读(785) 评论(0) 推荐(0)
摘要:1、问题 ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'containerId' in 'where clause' ### The error may exist in f 阅读全文
posted @ 2022-07-07 17:52 Code7Rain 阅读(895) 评论(0) 推荐(0)
摘要:0、需求描述 使用若依的前后端分离框架做的一个项目,想要部署到另外一台windows电脑(服务器)上,作为小白写一篇文档总结记录一下。 1、新电脑环境准备 JDK1.8 Nginx(注意配置,不要直接点击exe启动) Redis服务(直接下载运行不设置服务也可以) Mysql (或者直接打 jar 阅读全文
posted @ 2022-06-30 22:06 Code7Rain 阅读(5460) 评论(0) 推荐(0)
摘要:0、需求背景 每次启动 redis 都要去到 Redis 安装目录下寻找 redis-server.exe 文件点击,很是麻烦。 另外启动后只要一关闭cmd窗口,redis服务就关闭了。也是一大头疼问题。 于是思考到可不可以跟其它服务一样能够开机自启?显然是可以的。 把 redis 设置为一个 wi 阅读全文
posted @ 2022-06-30 20:53 Code7Rain 阅读(7774) 评论(0) 推荐(1)
摘要:1、问题 查看 git 日志时发现 Merge branch 'master' of xxx 2、场景 git merge 别的分支之后直接git push。 正常在自己的分支开发,开发完了之后直接 git add . ,git commit -m ,git push 也会产生这种错误。 3、原因 阅读全文
posted @ 2022-06-29 19:02 Code7Rain 阅读(731) 评论(0) 推荐(0)
摘要:1、问题 Redis 连接异常: ERR Client sent AUTH, but no password is set 伴随报错 Could not get a resource from the pool; nested exception is io.lettuce.core.RedisCo 阅读全文
posted @ 2022-06-29 18:50 Code7Rain 阅读(788) 评论(0) 推荐(1)
摘要:1、问题 2022-06-22 16:23:14.482 - IO error: Process failed (exit code = 1). See error log. 2022-06-22 16:23:14.482 - java.io.IOException: Process failed 阅读全文
posted @ 2022-06-29 18:06 Code7Rain 阅读(10887) 评论(0) 推荐(1)
摘要:1、问题 DBeaver MySQL8.0 Community版本备份导出时出现 Task execution failed 2、场景 使用 DBeaver 可视化工具将 MySQL 数据备份导出 DDL 时报错 Task execution failed 3、原因 右击数据 ==> 编辑连接,找到 阅读全文
posted @ 2022-06-29 18:05 Code7Rain 阅读(1537) 评论(0) 推荐(0)
摘要:1、问题 Low memory The IDE is running low on memory and this might affect performance. Please consider increasing available heap. 2、场景 Idea2021_3版本同时打开两个 阅读全文
posted @ 2022-06-29 18:04 Code7Rain 阅读(1179) 评论(0) 推荐(0)
摘要:1、问题 gitlab下载项目的时候出现 Permission denied, please try again 报错 2、场景 在使用 git 克隆或上传项目的时候出现 git@xxx password: 让你输入密码,输入什么都会出现 Permission denied, please try 阅读全文
posted @ 2022-06-20 20:56 Code7Rain 阅读(375) 评论(0) 推荐(0)