2013-01-23 22 views
2

我按照本視頻中描述的步驟 - http://www.youtube.com/watch?v=wP-aZdXymro在GAE上部署我的grails應用程序。我正在運行Grails-2.2.0,並且我已經卸載了hibernate插件。然而,當我嘗試安裝應用程序引擎插件,我得到以下信息 -grails在Google App Engine上的部署被grails install-plugin中的Unresolved Dependencies阻塞app-engine

==> grails install-plugin app-engine 
| Configuring classpath 
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for  more information): 

- org.grails:grails-datastore-gorm-plugin-support:1.0.0.RELEASE 
- org.grails:grails-datastore-gorm-jpa:1.0.0.RC3 
- org.grails:grails-datastore-jpa:1.0.0.RC3 
- org.grails:grails-datastore-web:1.0.0.RELEASE 

回答

1

請不要使用安裝,插件,它棄用。從application.properties中刪除所有插件。接着,添加到您的BuildConfig.groovy:

compile ":app-engine:0.8.10" 

之後,您可以檢查哪些插件仍然需要數據存儲插件(如果有的話):

dependency-report 
1

Grails的不GAE很好地工作。如果您想利用Groovy語法,或者將您的Grails應用程序部署到更傳統的雲提供商,如Heroku,Cloudbees,AWS等,那麼您可以更好地使用Gaelyk(https://gaelyk.appspot.com/)。