
遇到的问题
文章平均质量分 56
惜鸟
这个作者很懒,什么都没留下…
展开
-
IDEA “Library source does not match the bytecode for class“问题解决
Jar包更新后,报错信息:“Library source does not match the bytecode for class”,经检查,发现Jar内容还是旧版本的。原创 2022-06-15 15:51:21 · 2053 阅读 · 1 评论 -
gunicorn 超时报错:[1] [CRITICAL] WORKER TIMEOUT 解决
一. 问题描述在使用 Gunicorn + flask 搭建的一个 web 项目中,由于使用了机器学习模型,在第一次请求接口的时候需要加载模型,在本地运行的时候加载模型很快所以正常运行,将应用使用 docker 的方式部署到服务器上面(模型是通过 volume 的方式挂载到容器中的), 第一次请求加载模型耗时比较长,报出如下错误:[2021-09-11 07:22:33 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:12)[2021-09-11 07:22:35原创 2021-09-11 16:28:03 · 19792 阅读 · 0 评论 -
github 配置使用 personal access token 认证
一. 问题描述使用如下命令推送代码到 github :git push origin main根据提示输入用户名和密码,报如下错误:remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.remote: Please see https://github.blog/2020-12-15-token-authentic原创 2021-08-19 19:12:01 · 27288 阅读 · 2 评论 -
maven 处理 [WARNING] Using platform encoding (GBK actually) to copy filtered resources 的警告
一、问题描述使用 mvn package 打包项目的时候,总是输出如下警告:[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test ---[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent![INFO] --- maven-resource原创 2021-07-27 16:16:13 · 1320 阅读 · 0 评论 -
在 markdown 中使用表情符号
1️⃣ 概述经常看到别人写的文章中有各种有趣的表情符号,像是这样的????,在文章中添加一些表情符号能够增强文章的趣味性????,对于这些表情符号我们可以直接复制粘贴使用,这些表情符号到底是什么呢?这种表情符号的官方名字叫做 emoji ,来自日语词汇“絵文字”(假名为“えもじ”,读音即 emoji),emoji 的创造者是日本人栗田穰崇。emoji 是一种文本类型的象形符号, 它和图片、表情包不同,它能够在任何文本输入的地方使用,因为它本身就是一种文字 ;最新的 emoji 13.1版本包含1816原创 2021-07-12 11:47:35 · 4669 阅读 · 0 评论 -
springboot 运行jar文件报 “XXX中没有主清单属性”
问题描述在将springboot 项目项目打成jar包,通过java -jar运行的时候报错:D:\my-projects\springboot-demo\target>java -jar springboot-demo.jarspringboot-demo.jar中没有主清单属性解决方法需要在maven的pom.xml文件中指定打包时的mainClass,具体是在spring-boot-maven-plugin中指定,配置如下:<build> <pl原创 2021-03-15 19:55:33 · 393 阅读 · 0 评论 -
sonarQube 代码检查时报错 413 Request Entity Too Large
错误信息ERROR: Error during SonarQube Scanner executionERROR: Failed to upload report - HTTP code 413: <html><head><title>413 Request Entity Too Large</title></head><body bgcolor="white"><center><h1>413 Requ原创 2021-03-02 17:52:40 · 1193 阅读 · 0 评论