Closed plavjanik closed 4 years ago
I wonder if this is related:
$ zowe-api-dev deploy
Patching /tmp/kelda16/sample/bin/zowe-rest-api-sample-spring.jar to be same as build/libs/zowe-rest-api-sample-spring-0.0.1-SNAPSHOT.jar
Error: z/OSMF REST API Error:
Rest API failure with HTTP(S) status 404
category: 6
rc: 8
reason: 93651005
message: File not found.
details:
- EDC5129I No such file or directory. (errno2=0x0594003D)
at Object.zoweSync (C:/dev/java/sample-spring-boot-api-service/zowe-api-dev/src/zowe.ts:65:23)
at Object.transferFiles (C:/dev/java/sample-spring-boot-api-service/zowe-api-dev/src/files.ts:100:17)
at Deploy.run (C:/dev/java/sample-spring-boot-api-service/zowe-api-dev/src/commands/deploy.ts:23:13)
at Deploy._run (C:/dev/java/sample-spring-boot-api-service/zowe-api-dev/node_modules/@oclif/command/lib/command.js:44:31)
In this case, my zfs data sets were on WRK volumes that were deleted after three days. I redid zowe-api-dev zfs
and other steps. I had to use zowe-api-dev deploy --force
to get around this problem.
That is a different problem that will be fixed by checking if the file exists. Let's keep in this issue so we can fix it together.
Spring Boot requires JARs inside the fat JAR to be stored without compression.
Caused by: java.lang.IllegalStateException: Unable to open nested entry 'BOOT-INF/lib/zowe-rest-api-commons-spring-0.0.0-SNAPSHOT.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
The workaround is to use:
Full error log: