0

なんらかの理由で、統合テストを実行しようとすると、次の結果が得られます。

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 でテストを実行しています。

4

1 に答える 1

0

IntelliJ を再構築して再起動しましたが、すべて問題ありませんでした。

于 2011-02-02T06:55:57.133 に答える