随笔分类 -  异常随记

摘要:遇到问题的情况 接口没有配置https,请求时用https会此异常。 其他情况 1、问题现象 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be t 阅读全文
posted @ 2024-06-20 14:22 渝思 编辑
摘要:信息 npm ERR! Error while executing: npm ERR! D:\CodeTool\Git\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git npm ERR! npm ER 阅读全文
posted @ 2024-03-27 11:12 渝思 编辑
摘要:关闭sessionId 查询session_id 列 select session_id from v$locked_object; 根据session_id 列查出serial# SELECT sid, serial#, username, osuser FROM v$session where 阅读全文
posted @ 2024-03-26 16:18 渝思 编辑
摘要:信息 提交文件出现错误:error: failed to push some refs to 'gitxx.com:xxx.git' 处理 出现错误的主要原因是gitee中的README.md文件不在本地代码目录中 此时我们要执行git pull --rebase origin master命令将R 阅读全文
posted @ 2024-03-12 11:17 渝思 编辑
摘要:问题:当执行git push命令的时候,报错如下: fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream 原因当前分支主服务 阅读全文
posted @ 2024-03-11 15:50 渝思 编辑
摘要:报错的原因 springBoot项目自带的tomcat对上传的文件大小有默认的限制,SpringBoot官方文档中展示:每个文件的配置最大为1Mb,单次请求的文件的总数不能大于10Mb。 解决方法 Spring Boot 2.0 版本 在 【application】配置文件中加入如下代码: # ma 阅读全文
posted @ 2024-01-17 11:19 渝思 编辑
摘要:报错描述:​ 空指针,来自服务器的消息:​"Host ’ Host .docker.internal’​ 不允许连接到 ​MySQL​ 服务器" 登陆mysql 键入命令mysql -uroot -p,回车后提示你输入密码,输入12345,然后回车即可进入到mysql中 选择数据库 use mysq 阅读全文
posted @ 2023-12-21 17:09 渝思 编辑
摘要:解决方案: 只修改当前数据库的SQL_MODE -- 查看SQL_MODE SELECT @@sql_mode; -- 修改SQL_MODE SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); 阅读全文
posted @ 2023-12-11 17:15 渝思 编辑
摘要:原因:Test方法缺少public修饰,加上public。 参考链接:https://blog.csdn.net/qq_54386866/article/details/133862400 阅读全文
posted @ 2023-12-01 10:32 渝思 编辑
摘要:解决方法 和 NetworkManager 服务有冲突,这个好解决,直接关闭 NetworkManger 服务就好了, service NetworkManager stop,并且禁止开机启动 chkconfig NetworkManager off 。之后重启重新启动网络 service netw 阅读全文
posted @ 2022-09-25 15:41 渝思 编辑
摘要:原文链接:https://blog.csdn.net/weixin_44768683/article/details/126095839 问题描述 Error running 'Application': Command line is too long. Shorten command line 阅读全文
posted @ 2022-09-16 18:16 渝思 编辑
摘要:输入命令 npm config set prefix 或者其他命令输入后,导致npm -v完全没反应: 删掉.npmrc文件就可以,这里删除不是nodejs安装目录npm目录下的那个npmrc文件, 而是在C:\Users\用户下的.npmrc文件,删除之后就可以了。 原文链接:https://bl 阅读全文
posted @ 2022-09-16 10:41 渝思 编辑
摘要:因为添加文件太大,如果中途退出了,再次添加会报错,需要执行 rm -f ./.git/index.lock 或者不用命令找到.git下的index.lock删掉。 阅读全文
posted @ 2021-07-31 09:37 渝思 编辑
摘要:ideaGit操作问题Your local changes would be overwritten by merge. Commit, stash or revert them to proceed. pull时候出现这个提示。Your local changes would be overwri 阅读全文
posted @ 2021-07-30 11:22 渝思 编辑
摘要:方案: 把@Test导包:import org.junit.jupiter.api.Test; 改为:import org.junit.Test; 参考链接:https://blog.csdn.net/weixin_44896406/article/details/129020206 阅读全文
posted @ 2021-07-29 17:30 渝思 编辑
摘要:信息 在提交的时候,中间提交出错,导致有文件被lock,所以会出现异常 fatal: Unable to create 'D:/xxx/.git/index.lock': File exists. 处理 试着删除.git文件下 index.lock 1、linux命令行:代码 rm -f .git/ 阅读全文
posted @ 2021-07-29 11:46 渝思 编辑
摘要:git pull提示有冲突时拉取代码(有<<<<<<< Updated upstream和 和>>>>>>> Stashed changes冲突标记符的代码) 一、前言 多人协作开发时经常会在git pull XXX时控制台提示: error: Your local changes to the f 阅读全文
posted @ 2021-07-26 08:44 渝思 编辑
摘要:前后端分离,跨域 session+cookie失效问题 问题: 首先登陆成功时将用户存在session中,后续请求在将用户从session中取出检查。后续请求取出的用户都为null。 解决过程: 首先发现sessionID不一致,导致每一次都是新的会话,当然不可能存在用户了。然后发现cookie浏览 阅读全文
posted @ 2021-04-29 16:38 渝思 编辑
摘要:docker+tomcat 启动时非常慢原因之JRE /dev/random阻塞 docker+tomcat 启动时非常慢原因之JRE /dev/random阻塞: 以及idea项目关闭时报java.net.ConnectException: Connection refused解决: docker 阅读全文
posted @ 2021-04-01 16:44 渝思 编辑

点击右上角即可分享
微信分享提示