![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题处理
chent_某位
从大一开始努力,看未来能闯出多少天地。
展开
-
Vue 跨越问题解决 No ‘Access-Control-Allow-Origin‘
一、问题Access to XMLHttpRequest at 'http://xxx/wx_pn/wx_code_ticket' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.二、解决方法项目根目录下创建 vue.config.jsmodule.e原创 2021-01-12 20:38:35 · 2853 阅读 · 1 评论 -
Spring Cloud 报错 There was a problem with the instance info replicator
Spring Boot版本:2.3.4.RELEASESpring Cloud版本:Hoxton.SR8一、问题配置 Spring Cloud 后,启动项目报错:There was a problem with the instance info replicator二、解决方法方法一:禁止将自己(注册中心)作为客户端### 关闭客户端配置eureka.client.register-with-eureka=falseeureka.client.fetch-registry=false原创 2021-01-12 13:37:22 · 2727 阅读 · 0 评论 -
项目报错找不到sun.misc.BASE64Encoder
一、问题项目报错找不到sun.misc.BASE64Encoder二、原因sun.misc.BASE64Encoder等类不属于JDK标准库范畴,但在JDK中包含了该类,可以直接使用。三、解决方法使用 java.util.Base64 替换 sun.misc.BASE64Encoder示例://import sun.misc.BASE64Encoder;import java.util.Base64;//解决找不到sun.misc.BASE64Encoder...// return ne原创 2021-01-06 20:36:17 · 1144 阅读 · 0 评论 -
Using ‘UTF-8‘ encoding to copy filtered resources.
一、问题使用maven打包项目时报错Using 'UTF-8' encoding to copy filtered resources.二、解决方法方法一配置编码方式<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties>方法二修改 maven-plugins 版本<build> <原创 2021-01-04 21:05:45 · 9296 阅读 · 2 评论 -
Pycharm连接服务器MySQL报错
系统:centos错误如下:The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.解决办法:(查看防火墙是否开放MySQL3306端口)(前提:腾讯云安全组开发3306端口且账号密码输入正...原创 2020-02-18 20:19:50 · 956 阅读 · 1 评论 -
u版图安装matplotlib时,报错ERROR: Could not install packages due to an EnvironmentError
系统:u版图报错:(环境问题)ERROR: Could not install packages due to an EnvironmentError: ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: in...原创 2020-02-04 18:28:47 · 683 阅读 · 0 评论 -
Django运行时出现ModuleNotFoundError: No module named 'settings'
问题:Django运行时出现ModuleNotFoundError: No module named ‘settings’原因:找不到settings.py解决方法:将settings.py所在文件夹设置为根文件夹方法一:右键文件夹,选择Mark Directory as ,选择Sources Root方法二:Settings->Project Structure-&...原创 2019-12-03 00:45:02 · 14927 阅读 · 2 评论 -
elasticsearch常见问题
elasticsearch安装及简介请参考:https://blog.csdn.net/qq_16688265/article/details/83957179问题(pro_res) pyvip@VIP:~/project_res/pro_res$ python manage.py rebuild_indexWARNING: This will irreparably remove E...原创 2019-08-06 22:18:35 · 504 阅读 · 0 评论 -
html底部多出空白部分
问题如下图审查了一下代码,body的高度也没有这么高,说明是html的问题解决方法:ccs中添加如下代码html{height:100%;}原创 2019-08-04 16:34:29 · 39053 阅读 · 0 评论 -
Django数据迁移(makemigrations)报错: ModuleNotFoundError: No module named 'xxx'
项目数据库搁好几天没做,今天迁移了一下数据库发现居然报错app找不到(问题如下)(pro_res) pyvip@VIP:~/project_res/pro_res$ python manage.py makemigrationsTraceback (most recent call last): File "manage.py", line 15, in <module> ...原创 2019-07-31 16:01:12 · 2017 阅读 · 0 评论 -
Navicat连接虚拟机的MySQL时 提示“Password authentication failed”
参考:https://blog.csdn.net/tangyongjiang/article/details/6045176经过几个星期n次失败后,终于找到解决Navicat连接虚拟机的MySQL的方法(皇天不负有心人)。方法有如下几种(我用的是第二种方法):方法一:vi服务器端的/etc/ssh/sshd_config把PasswordAuthentication设成yes...原创 2019-07-12 00:18:36 · 7046 阅读 · 4 评论 -
安装node.js 后npm、node不能用 npm: command not found
问题:安装node.js 后npm、node不能用 npm: command not found解决方法:下载最新的node (地址:https://nodejs.org/en/)进入官方网点击downloads,选择相应版本这里演示centos下载安装:1.输入命令:uname -a 查看系统位数,我的是64位2.cd 到 home目录下载:wget https://node...原创 2019-11-18 14:00:35 · 4900 阅读 · 1 评论 -
AttributeError: module 'matplotlib' has no attribute 'verbose'
问题:AttributeError: module ‘matplotlib’ has no attribute ‘verbose’(如下图)解决方法:Pycharm:Settings->Tools->Python Scientific->取消勾运行成功原创 2019-12-15 19:59:23 · 461 阅读 · 0 评论