今天在学习freemarker静态化页面的时候遇到了这个错误:
 Java HotSpot™ 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
 
最终我找到了解决办法
 解决办法原帖:https://stackoverflow.com/questions/65613084/java-hotspottm-64-bit-server-vm-warning-sharing-is-only-supported-for-boot-lo
您只需在代码编辑器配置的 VM 选项中包含 -Xshare:off 即可,也就是运行/调试配置 -> 编辑配置模板 -> 添加虚拟机选项 -Xshare:off
 1.
 
 2.
 勾上Add VM options,点击apply
 
 3.在后面填上 -Xshare:off
 
 4.再次运行
 
 就解决了
 ❤️❤️❤️❤️❤️❤️















![[LeetCode]—— 226——翻转二叉树](https://img-blog.csdnimg.cn/direct/de1fef35c2ea48a9be36c92c2475ae88.png)


![[测试]ChaosBlade: 丢包、延迟、断网、磁盘、cpu占用、内存占用等资源耗尽故障注入利器--编辑中](https://img-blog.csdnimg.cn/direct/2d567cb21fea473bbfcacbba40b42885.png)
