
那些年我们一起遇到的bug
Tianhao丶
这个作者很懒,什么都没留下…
展开
-
json类型数据,java映射返回结果为null
json类型数据,java映射返回结果为null,修改数据类型为json格式原创 2023-02-21 11:12:20 · 730 阅读 · 0 评论 -
ERROR: Version in “./docker-compose.yml“ is unsupported
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key原创 2022-12-27 14:40:30 · 4341 阅读 · 1 评论 -
新增枚举类报错,Missing method body, or declare abstract
新增枚举类报错,Missing method body, or declare abstract原创 2022-09-14 19:17:43 · 815 阅读 · 0 评论 -
Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with
./src/styles/index.scss (./node_modules/_css-loader@1.0.0@css-loader??ref--11-1!./node_modules/_postcss-loader@2.1.6@postcss-loader/lib??ref--11-2!./node_modules/_sass-loader@7.0.3@sass-loader/lib/loader.js??ref--11-3!./src/styles/index.scss) Module build原创 2022-08-17 11:37:31 · 1606 阅读 · 0 评论 -
Python找不到同级目录下文件txt、csv等
将资料放到新建的包下,运行文件时,只能使用绝对路径,不能使用相对路径。若使用相对路径就报找不到文件原创 2022-06-07 12:02:29 · 3656 阅读 · 0 评论 -
Mac M1安装transformers报错
开始安装transformers, transformers主要依赖tokenizers,安装tokenizers依赖rust,所以需要先安装rust。递进关系,直接安装会失败。curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/envconda install -c conda-forge tokenizers conda install -c conda-forge transfo转载 2022-05-06 01:12:49 · 1727 阅读 · 1 评论 -
PicGo + 阿里云图床上传失败解析
我自己鼓秋了一下午,最后找到原因都给我弄笑了,问题一:复制过来的KeyId 首位默认增加了一个空格【这还好,细心就能看见】问题二:复制过来的KeySecret首位也默认增加了一个空格【这就NM离谱了啊,根本没办法检查啊,而且密码的位数默认都是满的】后来实在是找不到原因,怀疑也给我加了一个空格,就在前边删除了一下子,结果好了。就离谱记录自己的踩坑时刻吧...原创 2021-12-09 10:12:03 · 826 阅读 · 4 评论 -
plugin zsh-autosuggestions/zsh-syntax-highlighting not found
一、复制下面两行代码,到命令行git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestionsgit clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting二、通过下面代码,打原创 2021-12-08 02:14:25 · 4882 阅读 · 0 评论 -
java: 非法字符: ‘\ufeff‘
导入其他代码后,运行显示java: 非法字符: '\ufeff'java: 需要class, interface或enum原代码可能在编码时使用的编码格式不同,在编译器中转换一下即可第一步:在idea中打开,底下点击UTF-8,点击GBK第二步:选择CONVERT第三步:然后再转换回UTF-8即可再运行就不会报错了若文字显示乱码,重启编译器就好了...原创 2021-08-15 18:07:29 · 187 阅读 · 0 评论 -
IDEA Debug时,Step Into无法进入断点(系统类断点)
在Debug时,自己写的类,点击Step Into可以跳转进入但是在java的系统类时就无法进入这里主要是IDEA默认禁用了这些系统类的进入,在设置中取消跳过就可以了Settings--> Build,Execution,Deployment--->Debugger--->Stepping--->Do not step into the classes.取消选择取消后下框中的java类,全部变成灰色,也可以仅选择部分类,在Debug时不进入,或者全原创 2021-08-15 18:01:12 · 2268 阅读 · 1 评论