我正在使用 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。我已经尝试过“静态”和“动态”脚手架,但它并没有解决问题。
我还提到了这个异常是什么意思?问题,但没有运气。