본문 바로가기

개발(합니다)/시나브로(이슈)

CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions: [javaConfiguration]

반응형

Spring 3.x 버전에서 @Configuration을 사용하려는데 에러가 나옵니다.


CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions: [javaConfiguration]



CGLIB를 요청한다고.

그래서 POM.XML에 CGLIB를 추가했습니다.


<dependency>
        <groupId>cglib</groupId>
        <artifactId>cglib</artifactId>
        <version>2.2.2</version>
    </dependency>


깔끔하게 해결되었습니다.


반응형