我正在将spring boot hello world应用程序部署到Cloud Foundry。使用cf push命令。得到以下错误:
Open JDK Memory Calculator Error: No Version Reasonable for '2.0.2_RELEASE' in 3.13.0_RELEASE
有人对此有想法吗? 从下面的stackoverflow中,我可以看到2.0.2.RELEASE是开放的jdk版本: JDK availability in Cloud Foundry 我无法获得3.13.0_RELEASE吗?
完整日志:
Updating app TestPOC1...
Mapping routes...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...
256.00 KiB / 256.00 KiB [=====================================================================================================================================================================] 100.00% 1s
Waiting for API to complete processing files...
Staging app and tracing logs...
Cell 919f72a9-975c-4bf3-8b2f-1f0e73bda65b creating container for instance 0597e6a8-7b92-4c71-8942-15c68c29b535
Cell 919f72a9-975c-4bf3-8b2f-1f0e73bda65b successfully created container for instance 0597e6a8-7b92-4c71-8942-15c68c29b535
Downloading app package...
Downloaded app package (16.2M)
[Buildpack] ERROR Compile failed with exception #<RuntimeError: Open JDK Like Memory Calculator error: No version resolvable for '2.0.2_RELEASE' in 3.13.0_RELEASE>
Open JDK Like Memory Calculator error: No version resolvable for '2.0.2_RELEASE' in 3.13.0_RELEASE
Failed to compile droplet: Failed to compile droplet: exit status 1
Exit status 223
Cell 919f72a9-975c-4bf3-8b2f-1f0e73bda65b stopping instance 0597e6a8-7b92-4c71-8942-15c68c29b535
Cell 919f72a9-975c-4bf3-8b2f-1f0e73bda65b destroying container for instance 0597e6a8-7b92-4c71-8942-15c68c29b535
Cell 919f72a9-975c-4bf3-8b2f-1f0e73bda65b successfully destroyed container for instance 0597e6a8-7b92-4c71-8942-15c68c29b535
Error staging application: App staging failed in the buildpack compile phase
FAILED