依存関係の管理に Maven を使用しています。テスト ケースを実行すると、テスト ケースは正常にパスしますが、テスト ケースの最後で例外が発生します。
以下は私のスタックトレースです:
2013-10-08 16:04:22,839 [Thread-15] ERROR plugins.DefaultGrailsPlugin - Error configuration scaffolding: Error creating bean with name 'instanceControllersApi': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
Message: Error creating bean with name 'instanceControllersApi': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
Line | Method
->> 662 | run in java.lang.Thread
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Grails 2.1.3 を使用しています。「静的」と「動的」の両方の足場を試しましたが、問題は解決しませんでした。
また、この例外はどういう意味ですか?にも言及しました。問題はありますが、運はありません。