我已經將grails升級到2.4.4並使用了mongodb 3.0.2。無法使用mongo 3.0.2在2.4.4上執行grails run-app
當我用射擊run-app命令的應用程序失敗與以下情況除外:
| Error 2014-11-06 15:13:18,026 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener - Error initializing the application: org.springframework.beans.factory.support.DefaultListableBeanFactory.getDependencyComparator()Ljava/util/Comparator;
Message: org.springframework.beans.factory.support.DefaultListableBeanFactory.getDependencyComparator()Ljava/util/Comparator;
Line | Method
->> 131 | invokeMethod in grails.spring.DynamicElementReader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 754 | invokeBeanDefiningClosure in grails.spring.BeanBuilder
| 584 | beans . . . . . . . . . . in ''
| 527 | invokeMethod in ''
| 262 | run . . . . . . . . . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
我試着調試問題,結果發現,我已經增加了最新的格姆釋放在我BuildConfig。 groovy as
compile 'org.grails:grails-datastore-gorm:3.1.3.RELEASE'
compile 'org.grails:grails-datastore-core:3.1.3.RELEASE'
test 'org.grails:grails-datastore-simple:3.1.3.RELEASE'
當我從我的BuildConfig.groovy文件中刪除這些依賴項時,應用程序正常運行。但我需要這些最新的依賴關係。請任何想法嗎?
在您與我們分享的消息之前是否有更多的LPG消息? – 2014-11-06 12:17:07
謝謝@JeffBeck。不,只有那些我分享的信息。但我解決了。 https://jira.grails.org/browse/GRAILS-11813 – 2014-11-06 13:11:15