タイトル: java.lang.IllegalStateException: CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions: [...]
エラー内容
|
java.lang.IllegalStateException: CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions: [...] |
発生条件/原因
CGLIBライブラリが不足しているのが原因。
CGLIBはInterfaceを介さないbeanをInjectionする際に必要となるライブラリ。
対処法
pom.xmlに以下を追記して、maven ビルドを実行する。
|
<dependency> |