编写单元测试,运行时报下面的错误 haima@haima-PC:/media/haima/34E401CC64DD0E28/site/go/src/haimait/learn/base/cheshi01$ go test go: cannot find main module, but found ...
分类:
其他好文 时间:
2020-11-26 14:24:36
阅读次数:
5
ERROR Failed to compile with 4 errors These relative modules were not found: * ../../../public/ueditor/lang/zh-cn/zh-cn.js in ./node_modules/babel-loa ...
分类:
Web程序 时间:
2020-11-23 12:09:09
阅读次数:
11
pandas做Excel合并报错了 XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b'\x15Microso' 一次打出文件名,发现了临时文件,后来读取发现一样的错误, 再次定位,打开文件没有关闭 ...
分类:
其他好文 时间:
2020-11-21 12:24:37
阅读次数:
5
Ansible报错:module_stdout": "/bin/sh: 1: /usr/bin/python: not found 1. 检查ansible服务器的Python: # ls /usr/bin/python 没有则安装。 2. 检查节点服务器的Python: 没有python,路径下也 ...
分类:
编程语言 时间:
2020-11-21 12:10:11
阅读次数:
6
一、导入jar包: 并导入数据库连接jar包: 下载 pool.jar一定要下载1.x版本,亲测2.xxx版本会出现报错:Failed to introspect bean class [org.apache.commons.dbcp.BasicDataSource] for lookup meth ...
分类:
编程语言 时间:
2020-11-20 11:53:08
阅读次数:
7
看到标题就已经很明了了: 两种情况: 1.你想查询一条数据,但返回两条数据: 2.你想查询多条数据,但是前台限制只能查询一条 (1) 检查自己的数据sql语句写对没有(关于mybaties的sql操作自己百度) (2) 查看mybaties的返回值(resultType或resultMap),可以返 ...
分类:
其他好文 时间:
2020-11-19 12:23:18
阅读次数:
7
使用Turbine监控集群监控,在测试的时候出现了一些问题 http://localhost:9003/turbine.stream 没有获取到数据 http://localhost:9003/hystrix/monitor 监控界面一直loading 后台报Property or field 'd ...
分类:
移动开发 时间:
2020-11-19 12:14:31
阅读次数:
16
Zabbix的监控出现告警,具体的告警信息如下:“SQL Instance MSSQLSERVER: Could not allocate a new page”和“D::Disk space is low(used > 80%)" 第一个告警是Zabbix template for Microso ...
分类:
数据库 时间:
2020-11-17 12:16:53
阅读次数:
16
我产生的错误原因是写的mapper继承BaseMapper没有添加泛型: 点进去: 为了解决这个bug,网上很多人也提出了解决办法:1.检查xml文件的namespace是否正确 2.Mapper.java的方法在Mapper.xml中没有,然后执行Mapper的方法会报此 3.xxxMapper. ...
分类:
其他好文 时间:
2020-11-16 13:19:11
阅读次数:
4
由于公司的网络限制,或者外网下载网速过慢的情况。会导致google或者jcenter库的aar,jar库文件无法下载。 错误信息 错误信息分析 Caused by: org.gradle.api.resources.ResourceException: Could not get resource ...
分类:
移动开发 时间:
2020-11-10 11:18:22
阅读次数:
22