0
當我嘗試部署我的Java 1.7基於Grails的應用cloudfoundry,我得到以下錯誤:Cloudfoundry是否支持針對java 1.7編譯的grails應用程序?
Caused by: java.lang.UnsupportedClassVersionError: grails/plugin/cache/CacheConfigArtefactHandler : Unsupported major.minor version 51.0 (unable to load class grails.plugin.cache.CacheConfigArtefactHandler)
我認爲我讀的地方,這是現在支持?
Detected a Java SpringSource Grails Application, is this correct? [Yn]:
Application Deployed URL [my-project.cloudfoundry.com]:
Memory reservation (128M, 256M, 512M, 1G, 2G) [512M]:
How many instances? [1]:
Bind existing services to 'my-project'? [yN]: y
1: rabbitmq-67ae5
Which one?: 1
Create services to bind to 'my-project'? [yN]:
Would you like to save this configuration? [yN]:
Creating Application: OK
Binding Service [rabbitmq-67ae5]: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (20K): OK
Push Status: OK
Staging Application 'my-project': OK
Starting Application 'my-project': ...
謝謝!
謝謝,完美的工作! –