0
文件夾添加以下依賴於我的項目:春天開機安全創造了戰爭
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
<scope>provided</scope>
</dependency>
現在的文件夾 「組織/ springframework的/啓動/加載器」 我旁邊的index.jsp和源文件夾 在我的warfile中創建。它包含一些類似「launcher.class」,「JarLauncher.class」或「LaunchedURLClassLoader.class」的編譯類。
如何告訴我的構建不創建此文件夾?
你可以嘗試行家遮陽簾插件過濾性能。它在包裝過程中提供細粒度控制https://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html –