처음부터 차근차근
@Configuration 오류 본문
반응형
CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions:
원인은 CGLIB dependency를 추가해주지 않았기 때문이다.
해결 : pom.xml에 CGLIB dependency를 추가한다.
(pom.xml에 아래의 코드를 추가한다.)
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2.2</version>
</dependency>
반응형
'Error&Warning' 카테고리의 다른 글
VSCode sftp 연결 Error : No such file (0) | 2021.11.09 |
---|---|
[warning] git - LF will be replaced by CRLF (0) | 2021.09.24 |
@PostConstruct, @PreDestroy 에러 (0) | 2021.09.16 |
web.xml 에러 (0) | 2021.09.14 |
Eclipse Spring MVC 프로젝트 실행할 때 404 error(Spring 동작 원리) (1) | 2021.09.14 |
Comments