zoukankan      html  css  js  c++  java
  • maven

    Caused by: java.lang.IllegalStateException: Unable to open nested entry 'BOOT-INF/lib/jar'. It has been compressed and nested jar files must be stored without compression. Please check the mechanism used to create your executable jar file

    step 1

    		<dependency>
    			<groupId>com.taobao.top</groupId>
    			<artifactId>taobao-sdk-java-auto</artifactId>
    			<version>1.0</version>
    			<scope>system</scope>
    			<systemPath>${project.basedir}/lib/taobao-sdk-java-auto_1479188381469-20210204.jar</systemPath>
    		</dependency>
    
    
    step 2
    

    you can set 'includeSystemScope' to true.

    <build>
    	<plugins>
    		<plugin>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-maven-plugin</artifactId>
    			<configuration>
    				<includeSystemScope>true</includeSystemScope>
    			</configuration>
    		</plugin>
    	</plugins>
    </build>
    
    
    
    
    maven - Add external library .jar to Spring boot .jar internal /lib - Stack Overflow
    https://stackoverflow.com/questions/30207842/add-external-library-jar-to-spring-boot-jar-internal-lib
    
    
    
    SpringBoot项目打成war和jar的区别_CrazySnail_x的博客-CSDN博客
    https://blog.csdn.net/weixin_40910372/article/details/89515686
    
    正好这个时候微服务的概念兴起,“ use Jar,not War ”。要求淘汰传统 Servlet 服务器的呼声就起来了。
  • 相关阅读:
    实现一个文件系统
    ICN开发指导
    GPU in container
    docker debug
    内核代码中一些c语言用法
    各种Tree的python 实现
    intel VT-X (VMX) spec 解读
    intel VT-D (iommu) spec 解读
    正交幅度调制QAM
    Load balancer does not have available server for client:xxx
  • 原文地址:https://www.cnblogs.com/rgqancy/p/14388068.html
Copyright © 2011-2022 走看看