摘要:
XXX-1.0.0.jar中没有主清单属性 1、问题现象 java -jar 运行 SpringBoot工程的jar文件,报错“XXX-1.0.0.jar中没有主清单属性”。 2、问题原因 SpringBoot工程打出来的jar的 MANIFEST.MF 文件中缺少 Main-Class 等信息,如 阅读全文
摘要:
Windows11 WSL 打开Ubuntu 报错 WslRegisterDistribution failed with error: 0x800701bc 1、背景说明 Windows在不安装虚拟化软件的情况下,如果想安装Linux子系统,可以使用 WSL实现。 WSL (Windows Sub 阅读全文
摘要:
Ubuntu 22.04.1 安装 Redis 7.0.8 1、获取 Redis 安装文件 curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyri 阅读全文
摘要:
打开GitHub官网缓慢怎么办? 1、修改hosts文件 hosts文件路径: C:\Windows\System32\drivers\etc\ hosts文件中添加如下内容: # github 140.82.112.4 github.com 199.232.69.194 github.global 阅读全文
摘要:
client intended to send too large body: 2274148 bytes 问题现象 前端上传图片失败,nginx错误日志文件(/var/log/nginx/error.log)中的报错信息为:“client intended to send too large bo 阅读全文
摘要:
Plugin 'maven-clean-plugin:3.1.0' not found 问题现象 pom.xml 中有报红的提示信息,“Plugin 'maven-clean-plugin:3.1.0' not found”。 pom.xml 中的信息如下: <plugin> <artifactId 阅读全文
摘要:
EL1008E: Property or field 'config' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' 1、报错信息 将 Spring 阅读全文
摘要:
Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/datatype/jsr310/ser/ZoneIdSerializer 1、报错信息 SpringBoot 项目启动的时候,报错如下: Caused by: org.s 阅读全文
摘要:
java: The type of parameter "XXX" has no property named "name". 1、问题现象 SpringBoot 工程启动的时候,报错如下: java: The type of parameter "DeviceVO" has no property 阅读全文
摘要:
Swagger Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 1、问题现象 当 Spring Boot 2.6.x 和 Swagg 阅读全文