
我的bug
这里都是我在实战中遇到的bug,经解决后做的记录!
请不要在网络上随地大小便!
加油呀!
展开
-
Error: unable to perform an operation on node ‘rabbit@NoBug‘. Please see diagnostics information and
Error: unable to perform an operation on node 'rabbit@NoBug'. Please see diagnostics information and suggestions below.原创 2023-01-12 17:51:53 · 1488 阅读 · 2 评论 -
failed to parse field [name] of type [text] in document with id ‘1‘
failed to parse field [name] of type [text] in document with id '1'原创 2022-09-27 14:02:10 · 2859 阅读 · 0 评论 -
Spring boot maven项目报错unable to find valid certification path to requested target
Spring boot maven项目报错unable to find valid certification path to requested target原创 2022-09-23 17:27:42 · 330 阅读 · 0 评论 -
为什么axios发请求后页面自动刷新了?
为什么axios发请求后页面自动刷新了?原创 2022-08-02 01:15:15 · 1913 阅读 · 2 评论 -
The read operation timed out
用pip install 命令行下载类库时出现’ The read operation timed out’怎么办?此时就要用到镜像下载了,国内好用的镜像源如下:阿里云 http://mirrors.aliyun.com/pypi/simple中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple豆瓣(douban) http://pypi.douban.com/simple清华大学 https://pypi.tuna.tsinghua.edu.cn/原创 2021-01-18 10:49:58 · 9343 阅读 · 2 评论 -
Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/instance-z43aidmj.
Starting MySQL.. ERROR! The server quit without updating PID file原创 2022-07-23 00:56:36 · 413 阅读 · 0 评论 -
create connection SQLException, errorCode 1045, state 28000
create connection SQLException, errorCode 1045, state 28000原创 2022-07-20 17:32:51 · 816 阅读 · 0 评论 -
在用maven进行分模块开发打包的时候出现错误
在用maven进行分模块开发打包的时候出现错误原创 2022-07-19 10:05:45 · 506 阅读 · 0 评论 -
写乐观锁拦截器的时候报错no @Intercepts was found
写乐观锁拦截器的时候报错no @Intercepts was found原创 2022-07-18 23:37:30 · 353 阅读 · 0 评论 -
本地仓库有该插件但是却报错:Plugin ‘org.apache.maven.plugins:maven-surefire-plugin:’ not found
本地仓库有该插件但是却报错:Plugin ‘org.apache.maven.plugins:maven-surefire-plugin:’ not found原创 2022-07-18 17:51:34 · 4419 阅读 · 0 评论 -
No @Intercepts annotation was found in interceptor com.example.config.MPConfig$$EnhancerBySpringCGLI
No @Intercepts annotation was found in interceptor com.example.config.MPConfig$$EnhancerBySpringCGLI原创 2022-07-17 23:09:06 · 1570 阅读 · 0 评论 -
Creating Server TCP listening socket *:6379: bind: Address already in use
Creating Server TCP listening socket *:6379: bind: Address already in use原创 2022-07-17 21:55:31 · 1127 阅读 · 0 评论 -
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There are Test Failure!原创 2022-07-16 23:28:11 · 264 阅读 · 0 评论 -
Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found
Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found原创 2022-07-16 22:59:01 · 308 阅读 · 0 评论 -
1005 - Can‘t create table ‘project.progress_tb‘ (errno: 121)
1005 - Can't create table 'project.progress_tb' (errno: 121)原创 2022-07-15 22:16:53 · 127 阅读 · 0 评论 -
Can‘t create table ‘project.design_tb‘ (errno: 150)
Can't create table 'project.design_tb' (errno: 150)原创 2022-07-15 22:06:31 · 84 阅读 · 0 评论 -
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4原创 2022-07-15 21:50:25 · 205 阅读 · 0 评论 -
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REFERENCES `unit_tb`(`id`)原创 2022-07-15 16:57:07 · 177 阅读 · 0 评论 -
初学react时http://localhost:3000无法访问
在win+R进入cmd界面,定位到自己构建的项目目录下,输入npm start就行了。为什么我也不知道。原创 2021-09-24 16:24:27 · 2052 阅读 · 0 评论 -
Cannot resolve method ‘writeJson(java.lang.String, javax.servlet.http.HttpServletResponse)‘
虽然我查了很久试过了很多好方法还是没有解决我的问题,但是为了表示对我这段查询时间的纪念,还是记录一下我的查询结果(QAQ)。链接在这里:这一篇介绍的是加jspapi.jar和servletapi.jar的这一篇是介绍添加插件Lombok的这一篇是说清空缓存和添加tomcat的祝大家好运!!!...原创 2021-02-27 10:41:54 · 963 阅读 · 0 评论 -
如何检查自己的mysql版本号以及为何在命令行键入mysql确提示找不到外部命令?
很有可能是没有配置环境变量!!!安装成功后如何检查自己的mysql版本号?在没有配置环境变量的情况下:双击进入mysql命令行,输入密码就可以了(像这样):配置环境变量后:win+R进入命令行,再像这样输入命令和密码就ok了:...原创 2021-02-24 10:29:58 · 318 阅读 · 0 评论 -
SyntaxError: Non-UTF-8 code starting with ‘\xe5‘ in file D:/MyPython/bigData/黑龙江患者轨迹.py on line 47,
解决办法在这里总结一下:就是在源文件的第一行或者第二行加上#coding=utf-8或者## -*- coding: utf-8 -*-这里的编码要看你的个人需要,我是因为源文件中有中文,所以需要用到utf-8原创 2021-02-20 10:05:04 · 462 阅读 · 0 评论 -
python爬虫使用bs4进行页面解析发现页面源码信息不完整
经过咨询发现是该网站具有反爬机制,于是加了headers的属性就行啦。一开始只用了User-Agent,后来加上cookie就行了。两个数据都是在对应源码页面复制的位置在这里:原创 2021-02-18 23:59:04 · 1076 阅读 · 0 评论 -
No connection adapters were found for
首先检查自己的拼写格式是否有问题,如果没问题的话就需要包含协议头’http://192.168.1.61:8080/api/call’原创 2021-02-18 09:03:33 · 9004 阅读 · 0 评论 -
ERROR: Could not find a version that satisfies the requirement matplotlib ERROR: No matching distrib
使用pip install matplotlib报错如下:原来又是因为网络问题,使用镜像下载很快就解决啦!命令如下:pip install matplotlib -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com命令也可以写成:pip install -i http://mirrors.aliyun.com/pypi/simple/ matplotlib附上镜像源:阿里云 http://mirr原创 2021-02-04 10:58:10 · 1039 阅读 · 1 评论 -
No engine for filetype: ‘csv‘???
这是因为我的代码是这样的:patient_data.to_excel('./trance_about_HeBei.csv')改成下面这样就行啦:patient_data.to_csv('./trance_about_HeBei.csv')原创 2021-02-01 11:09:54 · 4054 阅读 · 0 评论 -
SyntaxError: (unicode error) ‘unicodeescape‘ codec can‘t decode bytes in position 200-201: truncated
crime=pd.read_csv('D:\***\***\***\***\****\US_Crime_Rates_1960_2014.csv')在引入文件时报错:这是因为反斜杠在编译环境中被认为时转义字符,以下有两种解决办法方法一:将一个反斜杠改成两个(通用)crime=pd.read_csv('D:\\***\\***\\***\\***\\****\\US_Crime_Rates_1960_2014.csv')方法二:在路劲名之前加上r取消反斜杠的特殊性(我只发现对python有用,原创 2021-01-31 20:51:48 · 89 阅读 · 0 评论 -
使用pandas的dataFrame报错:ValueError: arrays must all be same length???
因为字典中的元素个数不一样,所以报了错,有的数组元素实在没有辣么多,我采取的解决办法是将不足的数组元素用’'空字符代替,上代码:for i in range(0, len(text_list2) - 1): ret = re.search(ex_time, text_list2[i]) if (ret): time.append(ret.group()) # re.sub(ret.group(),'',text_list2[i]) text_原创 2021-01-29 20:50:45 · 2337 阅读 · 0 评论 -
python使用replace()或sub()为什么无效???
比如我们要将字符串str里的abc全部替换为’’;使用sub(),我原来的代码是:re.sub('abc','',str);正确代码应该是这样的:str=re.sub('abc','',str);使用replace(),我原来的代码是:str.replace('abc','');正确的代码是这样的:str=str.replace('abc','');这是因为这里的字符串是字符串常量,是不可变的,我们使用sub()或者是replace()函数并没有改变原串中的字符。如果要实现改变字段原创 2021-01-29 20:46:09 · 1293 阅读 · 1 评论