Springboot jar 部署IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/byte-bud
Exception in thread "main" java.lang.IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/byte-buddy-1.7.11.jar
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:108)
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchives(JarFileArchive.java:86)
at org.springframework.boot.loader.ExecutableArchiveLauncher.getClassPathArchives(ExecutableArchiveLauncher.java:70)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:49)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: java.io.IOException: Unable to open nested jar file 'BOOT-INF/lib/byte-buddy-1.7.11.jar'
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:254)
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:239)
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:103)
... 4 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
at org.springframework.boot.loader.jar.AsciiBytes.hashCode(AsciiBytes.java:208)
at org.springframework.boot.loader.jar.JarFileEntries.add(JarFileEntries.java:107)
at org.springframework.boot.loader.jar.JarFileEntries.visitFileHeader(JarFileEntries.java:102)
at org.springframework.boot.loader.jar.CentralDirectoryParser.visitFileHeader(CentralDirectoryParser.java:95)
at org.springframework.boot.loader.jar.CentralDirectoryParser.parseEntries(CentralDirectoryParser.java:70)
at org.springframework.boot.loader.jar.CentralDirectoryParser.parse(CentralDirectoryParser.java:58)
at org.springframework.boot.loader.jar.JarFile.<init>(JarFile.java:121)
at org.springframework.boot.loader.jar.JarFile.<init>(JarFile.java:109)
at org.springframework.boot.loader.jar.JarFile.createJarFileFromFileEntry(JarFile.java:287)
at org.springframework.boot.loader.jar.JarFile.createJarFileFromEntry(JarFile.java:262)
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:250)
... 6 more
Exception in thread "main" java.lang.IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/byte-buddy-1.7.11.jar
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:108)
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchives(JarFileArchive.java:86)
at org.springframework.boot.loader.ExecutableArchiveLauncher.getClassPathArchives(ExecutableArchiveLauncher.java:70)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:49)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: java.io.IOException: Unable to open nested jar file 'BOOT-INF/lib/byte-buddy-1.7.11.jar'
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:254)
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:239)
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(JarFileArchive.java:103)
... 4 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
at org.springframework.boot.loader.jar.AsciiBytes.hashCode(AsciiBytes.java:208)
at org.springframework.boot.loader.jar.JarFileEntries.add(JarFileEntries.java:107)
at org.springframework.boot.loader.jar.JarFileEntries.visitFileHeader(JarFileEntries.java:102)
at org.springframework.boot.loader.jar.CentralDirectoryParser.visitFileHeader(CentralDirectoryParser.java:95)
at org.springframework.boot.loader.jar.CentralDirectoryParser.parseEntries(CentralDirectoryParser.java:70)
at org.springframework.boot.loader.jar.CentralDirectoryParser.parse(CentralDirectoryParser.java:58)
at org.springframework.boot.loader.jar.JarFile.<init>(JarFile.java:121)
at org.springframework.boot.loader.jar.JarFile.<init>(JarFile.java:109)
at org.springframework.boot.loader.jar.JarFile.createJarFileFromFileEntry(JarFile.java:287)
at org.springframework.boot.loader.jar.JarFile.createJarFileFromEntry(JarFile.java:262)
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(JarFile.java:250)
檢查發現byte-buddy的包裡面為空,到mvn 資源庫中如下處理刪除1.7.11
maven update 重新下載jar
執行java -jar test.jar
過放蕩不羈的生活,容易得像順水推舟,
但是要結識良朋益友,卻難如登天。—— 巴爾扎克
相關文章
- idea SpringBoot jar 熱部署IdeaSpring BootJAR熱部署
- Mybatis-jar-libMyBatisJAR
- jar-The Java Archive Tool (轉)JARJavaHive
- Springboot 打jar包分離lib,配置檔案正確方式Spring BootJAR
- Springboot專案依賴jar分離部署Spring BootJAR
- 【SpringBoot】三十二、SpringBoot專案Jar包如何瘦身部署Spring BootJAR
- Initialization of bean failed; nested exception is java.lang.StackOverflowErrorBeanAIExceptionJavaError
- flutter packages get - pub get failed (1)解決方案FlutterPackageAI
- centos 部署jar包CentOSJAR
- sudo apt-get update | grep "Failed"apt-getAI
- n [Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoAIExceptionRPC
- 使用thin jar啟動並指定lib目錄JAR
- 多個springboot專案部署到tomcat,Error deploying web application archiveSpring BootTomcatErrorWebAPPHive
- linux 部署jar包LinuxJAR
- Resolving archive.cloudera.com... failed: Temporary failure in nameHiveCloudAI
- FAL[server, ARCN]: FAL archive failed ORA-16401ServerHiveAI
- Data guard 中 alert 日誌報錯 "FAL archive failed"HiveAI
- ORA-29786: SIHA attribute GET failedAI
- CentOS | samba | 設定共享資料夾 | Failed to add entry for userCentOSSambaAI
- Failed to get D-Bus connection: Operation not permittedAIMIT
- Docker systemctl Failed to get D-Bus connectionDockerAI
- Springboot 引入本地 jar 包方式Spring BootJAR
- SpringBoot 新增本地 jar 檔案Spring BootJAR
- WEB-INF/lib/javax.servlet.jar 出錯,真是搞不懂。。。WebJavaServletJAR
- jar包部署,jenkins整合javaJARJenkinsJava
- cadvisor報錯failed to collect filesystem stats- rootDiskErr: du command failed on /rootfs/var/lib/docAI
- ubuntu解決Could not get lock /var/lib/dpkg/lock-frontendUbuntu
- httpd: apr_sockaddr_info_get() failed for bogonhttpdAIGo
- HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGramHTTPAIExceptionSpringFrameworkJDBCSQL
- springboot,springcloud打包成jar教程Spring BootGCCloudJAR
- Linux報錯:Could not get lock /var/lib/dpkg/lock-frontendLinux
- belkin Galaxy S4 case banks failed to getAI
- 解決okhttp報java.lang.IllegalStateException: closed,java.lang.IllegalStateException: closedHTTPJavaException
- java.lang.IllegalStateException: closedJavaException
- Unable to locate the Javac Compiler in: C:\Java\jre1.8\..\lib\tools.jarJavaCompileJAR
- ruoyi vue 前後端分離版本 打包分離jar包至libVue後端JAR
- springboot熱部署Spring Boot熱部署
- Ubuntu Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)UbuntuAPTAI