Files
doghouse/README.md
2025-12-29 21:29:13 +08:00

23 lines
844 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Doghouse - 基于 Springboot 的个人博客系统
## 本地 avif 和 webp 转换
下载对应二进制文件,并放在系统环境变量下,确保能通过 CLI 访问即可。
## 本地 Mermaid 流程图转换
安装 node而后
```
npm i -g @mermaid-js/mermaid-cli
```
## 疑难解决
如果出现:`url` 未配置之类的,可能是 `devtools` 热重载出问题,需要 maven clean 以后再 maven install
如果出现 cglib 相关的 java.lang.IncompatibleClassChangeError请检查 cglib 支持的最高版本的 asm并手动指定在 dependency 中。有时候 spring-boot 会指定额外的 asm 版本,导致不兼容。
如果出现 InaccessibleObjectException: Unable to make protected final java.lang.Class请添加 --add-opens=java.base/java.lang=ALL-UNNAMED 在运行前。