fix: spring-boot 打包含 system 依赖(aspose-words/cells/pdf)

- 这些 jar 走 systemPath 依赖,默认不进 fat jar,只作为资源落在
  BOOT-INF/classes/lib 下,运行时类加载器读不到,
  参考答案转 PDF 预览首次在线上执行即 NoClassDefFoundError: com/aspose/cells/SaveOptions
- includeSystemScope=true 使其正确进入 BOOT-INF/lib
main
chenyuan 8 hours ago
parent 245dc497ad
commit 78dbd4d01a

@ -339,6 +339,11 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!-- aspose-words/cells/pdf 走 systemPath 依赖,默认不会打进 fat jar,
运行时 NoClassDefFoundError(参考答案转 PDF 预览即此问题),必须包含 -->
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

Loading…
Cancel
Save