1
완벽하게 작동하는 2.0.1 용 Grails 프로젝트가 있습니다.grails 2.0.4에서 2.2.4로 업그레이드 - 트랜잭션 관련 문제
grails 2.2.4와 함께 제공되는 GGTS 3.4.0.M1로 업그레이드하려고합니다. 내 기존 프로젝트를 가져 왔는지, 그 grails 버전의 차이를 확인, 내가이 프로젝트를 2.2.4로 업그레이 드를 완료 확인을 선택했습니다.
통합 테스트를 위해 run-app 또는 test-app 중 하나를 실행할 때마다 아래의 스택이 실패합니다. 필자는 Grails 문서, 특히 '이전 버전에서 업그레이드'를 통해 필자에게 필요한 모든 것을 다뤘다 고 생각합니다. 그러나 여기에있는 문제가 무엇인지 내 머리를 긁적입니다.
제안 사항?
| Loading Grails 2.2.4
| Configuring classpath.
| Environment set to development.....
| Packaging Grails application....
| Compiling 1 source files..
| Compiling 1 source files.....
| Running Grails application
Loading default beans for environment=DEVELOPMENT
Configuring Spring Security Core ...
... finished configuring Spring Security Core
| Error 2013-10-09 17:53:22,446 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'grails.plugin.transaction.handling.TransactionHandlingPostProcessor': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
Message: Error creating bean with name 'grails.plugin.transaction.handling.TransactionHandlingPostProcessor': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
Caused by IllegalArgumentException: [Assertion failed] - this expression must be true
->> 340 | newInstance in org.grails.plugin.config.AbstractConfigHelper$ConfigObjectProxy
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 111 | doCall in org.grails.plugin.config.DefaultConfigHelper$_enhanceConfigObjectClass_closure3
| 1 | run . . in Script1
| 160 | afterPropertiesSet in grails.plugin.transaction.handling.TransactionHandlingPostProcessor
| 303 | innerRun in java.util.concurrent.FutureTask$Sync
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread