![](https://img-blog.csdnimg.cn/20210429161955874.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
开发Bug
记录开发过程中遇见的bug
Taoger_Xu
这个作者很懒,什么都没留下…
展开
-
Python ImportError libGL.so.1 cannot open shared object file No such file or directory 解决方案
问题描述最近在新装的Ubuntu配置opencv-python的环境, 执行pip install opencv-python后一直报错:在这里插入图片描述报错原因:缺少libGL.so.1 库解决方法sudo apt updatesudo apt install libgl1-mesa-glx原创 2021-09-28 08:37:51 · 314 阅读 · 0 评论 -
Linux下virtualenvwrapper安装问题: /usr/local/bin/virtualenvwrapper.sh: No such file or directory的解决方法
1. 遇见的问题之前Anaconda安装的时候把已经把virtualenvwrapper.sh装在其他位置上了,可以通过which 命令查看(which是用来查看当前要执行的命令所在的路径)which virtualenvwrapper.sh最后重新修改~/.bashrc内容即可:# 指定python虚拟环境存放路径,$HOME=~, 指的是家目录export WORKON_HOME=$HOME/.virtualenvs#使virtualenvwrapper.sh文件生效(运行virtuale原创 2021-08-12 23:05:33 · 1095 阅读 · 1 评论 -
时区错误问题解决办法
使用JDBC连接数据库的时候时区错误问题Exception in thread "main" java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration原创 2021-06-13 17:46:09 · 294 阅读 · 0 评论 -
奇妙的bug-----java.lang.ClassNotFoundException:
最近在学spring security的过程中经常遇见一下这样的异常:java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverterdebug的过程中一直没有发现错误,最后发现是自己的JDK版本过高,大概是JDK9以上会发生的问题,解决方法一般有二种:手动降低JDK版本在idea中进行配置在Maven依赖中导入缺少的包<dependency> <groupId>javax.xm原创 2021-03-17 17:51:42 · 121 阅读 · 0 评论