From 78dbd4d01aecb0386ce90bada028d8a007e03bb4 Mon Sep 17 00:00:00 2001 From: chenyuan Date: Fri, 16 Oct 2026 21:05:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20spring-boot=20=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=90=AB=20system=20=E4=BE=9D=E8=B5=96(aspose-words/cells/pdf)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 这些 jar 走 systemPath 依赖,默认不进 fat jar,只作为资源落在 BOOT-INF/classes/lib 下,运行时类加载器读不到, 参考答案转 PDF 预览首次在线上执行即 NoClassDefFoundError: com/aspose/cells/SaveOptions - includeSystemScope=true 使其正确进入 BOOT-INF/lib --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 9447651..abda9de 100644 --- a/pom.xml +++ b/pom.xml @@ -339,6 +339,11 @@ org.springframework.boot spring-boot-maven-plugin + + + true + org.apache.maven.plugins