You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that when package springboot project by using command line parameter 'spring-boot.repackage.skip=true', then jib:buildTar also tips '[INFO] Spring Boot repackaging (fat JAR) detected; using the original JAR', and then the build will failed.
The error:
Obtaining project build output files failed; make sure you have packaged your project before trying to build the image. (Did you accidentally run "mvn clean jib:build" instead of "mvn clean package jib:build"?)
Caused by java.nio.file.NoSuchFileException: xxxx.jar.original
The text was updated successfully, but these errors were encountered:
The issue is that when package springboot project by using command line parameter 'spring-boot.repackage.skip=true', then jib:buildTar also tips '[INFO] Spring Boot repackaging (fat JAR) detected; using the original JAR', and then the build will failed.
The error:
Obtaining project build output files failed; make sure you have packaged your project before trying to build the image. (Did you accidentally run "mvn clean jib:build" instead of "mvn clean package jib:build"?)
Caused by java.nio.file.NoSuchFileException: xxxx.jar.original
The text was updated successfully, but these errors were encountered: