
异常
文章平均质量分 64
记录自己在IT的学习中所遇到的各种报错问题及解决方法
艾伦!
这个作者很懒,什么都没留下…
展开
-
问题| Pandas获取数据转json时报错 TypeError: Object of type int64 is not JSON serializable @Python
TypeError: Object of type int64 is not JSON serializable @Python。原创 2022-10-07 16:52:53 · 1526 阅读 · 0 评论 -
问题| Matplotlib 中绘制散点图:ValueError: s must be a scalar, or ... with the same size as x and y @Python
ValueError: s must be a scalar, or float array-like with the same size as x and y原创 2022-07-30 15:22:28 · 10777 阅读 · 0 评论 -
问题| Matplotlib 3D绘图警告:Axes3D(fig) adding itself to the figure is deprecated since 3.4 @Python
MatplotlibDeprecationWarning: Axes3D(fig) adding itself to the figure is deprecated since 3.4. Pass the keyword argument auto_add_to_figure=False and use fig.add_axes(ax) to suppress this warning.原创 2022-07-30 12:44:03 · 4163 阅读 · 0 评论 -
问题| Matplotlib 绘图关于字符的问题:missing from current font @Python
使用 Matplotlib 绘图过程中涉及了中文字符,出现警告:missing from current font.fig.canvas.print_figure(bytes_io, **kw)原创 2022-07-25 21:32:07 · 8566 阅读 · 0 评论 -
问题|TypeError: ‘list‘ object is not callable @Python
使用 list() 函数时,报错——TypeError: 'list' object is not callable原创 2022-04-19 22:41:23 · 1409 阅读 · 0 评论 -
问题|ImportError: DLL load failed while importing _ssl: 找不到指定的模块 @Jupyter Notebook
cmd中输入jupyter notebook,报错ImportError: DLL load failed while importing _ssl: 找不到指定的模块原创 2022-04-18 17:42:41 · 5587 阅读 · 0 评论 -
问题|Conda虚拟环境创建出错Collecting package metadata (current_repodata.json): failed @Conda
Collecting package metadata (current_repodata.json): failedAn HTTP error occurred when trying to retrieve this URL.原创 2022-04-18 09:46:46 · 3928 阅读 · 5 评论 -
问题|java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 @Java
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0原创 2022-02-19 12:45:20 · 2754 阅读 · 0 评论 -
问题|docsify : 无法加载文件 C:\Users\86152\AppData\Roaming\npm\docsify.ps1 @Node
目录问题描述原因分析解决方法问题描述背景:环境:Node.js、Windows PowerShell(管理员)背景:使用nmp安装好docsify-cli后,欲查看其版本信息,却报错:docsify : 无法加载文件 C:\Users\86152\AppData\Roaming\npm\docsify.ps1,因为在此系统上禁止运行脚本。具体:原因分析原因: 权限问题根据提示信息,查看解释:https:/go.microsoft.com/fwlink/?LinkID=135原创 2021-01-22 14:00:46 · 2282 阅读 · 2 评论 -
问题|npm安装报错rollbackFailedOptional: verb npm-session @Node
问题描述背景:工具:Node.js(运行在服务端的 JavaScript)背景:在管理员命令界面用nmp安装docsify-cli时报错rollbackFailedOptional: verb npm-session 565196102b0e26ac 具体:解决方法参考:https://blog.youkuaiyun.com/qq_41946557/article/details/102886513操作:在node.js安装目录下的node_modules → npm中找到npm原创 2021-01-22 11:10:29 · 372 阅读 · 1 评论 -
问题|Error:java: 无效的源发行版: 10 @Java
目录问题描述原因分析解决方法问题描述背景:工具:IntelliJ IDEA工具背景:今日在IDEA的导入普通的java项目模块后,运行java程序时,发现项目中每一个程序都在编译时报错Error:java: 无效的源发行版: 10具体:原因分析探究:从提示内容中,提取关键信息:a. 编译时使用java版本是:1.8.0 111b. 由于项目配置/依赖关系的更改,模块“03. ListAndSet”已完全重建c. java: 无效的源发行版: 10思考:使用的jdk原创 2021-01-20 22:11:07 · 302 阅读 · 1 评论 -
问题|启动Spring Boot报错-4处 @Spring Boot
目录描述问题问题1:Application failed to start with classpath问题2:Unable to load authentication plugin 'caching_sha2_password'问题3:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone警告4:Loading class 'com.mysql.jdbc.Driver'原创 2021-01-10 22:29:51 · 2004 阅读 · 0 评论 -
问题|Spring Boot中配置thymeleaf出错 @Spring Boot
Library '...'has broken path问题描述解决历程思路总结问题描述背景:工具:IntelliJ IDEA工具背景:在Spring Boot项目的pom.xml中配置thymeleaf,pom文件中并未报错错误:但打开File → Project Structrue → Modules的Dependencies中,发现一个jar包显示broken path:Library 'Maven: org.thymeleafthymeleaf-spring5:3.0.2.RELEA原创 2021-01-10 22:28:56 · 705 阅读 · 0 评论 -
问题|Cannot resolve class or package ‘jdbc‘ @Spring Boot
目录问题描述解决方法知识导图Maven依赖范围问题描述背景:IDEA工具,在Spring Boot的配置文件application.yml中,进行数据库连接配置时出现报错Cannot resolve class or package 'mysql'Cannot resolve class or package 'jdbc'具体:解决方法说明:通过百度,试了一些方法,胡乱弄了一通后,报错突然消失了。自己也没明白具体哪些操作是解决问题关键尝试:在报错消失后,将pom.xml对原创 2021-01-08 20:43:01 · 893 阅读 · 0 评论 -
问题|Navicat连接mysql报1045错 @Mysql
问题描述:背景:太久没用数据库了,这次使用Navicat,在测试连接-mysql时,报错10451045 - Access denied for user root'localhost (using password: YES)具体:原因分析:思考:没启动数据库解决方法:操作:将下面内容复制到pom.xml中(@ConfigurationProperties的执行器配置)思考:此处不进行执行器的配置也可以完成项目映射工作,那为何要配置?说明:配置后的好处——原创 2021-01-08 16:14:01 · 266 阅读 · 0 评论 -
问题|使用@ConfigurationProperties映射-出现警告 @SpringBoot
问题描述:背景:SpringBoot中,在使用注解@ConfigurationProperties进行配置文件与实体字段的自动映射时,出现警告:在classpath路径下没发现Spring Boot配置注解的执行器Spring Boot Configuration Annotation Processor not found in classpath具体:原因分析:探究:点击警告右方的Open Documentation页面中给出了相关说明 → 需进行依赖声明解决方法原创 2021-01-06 12:46:02 · 482 阅读 · 0 评论 -
问题|中断IDEA-端口被占用 @SpringBoot
问题描述:背景:IEDA中,在SpringBoot项目还在运行状态时,突然关闭IDEA。再次打开,并启动项目时,报端口错误The Tomcat connector configured to listen on port 8080 failed to start.具体:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled原创 2021-01-05 13:58:34 · 385 阅读 · 0 评论