0
の問題をオートワイヤリング:統合テストが失敗する - 私は任意の統合テストを実行しようとすると、私は次のように取得しています、何らかの理由でGrailsの
Initialization of bean failed; nested exception is
org.springframework.beans.ConversionNotSupportedException: Failed to convert property
value of type
'myproject.provider.shipping.variable.ConcreteImplService$$EnhancerByCGLIB$$f28ea3b8' to
required type 'ammoscanner.provider.shipping.variable.ConcreteImplService' for property
'concreteImplService'; nested exception is java.lang.IllegalStateException: Cannot
convert value of type
なぜCGLIBは私注入したクラスをラップし、テストが失敗する原因となっています?私はgrails 1.3.6を実行し、Intelli-J ultimate 10.01でテストを実行しています。
実行アプリケーションや戦争で同じコードを実行しても機能しますか?また、どのプラグインをあなたのアプリで使用していますか? –
また、コマンドラインから実行してIntelliJを変数として削除してみてください。 –
run-appと戦争は正常です。 –