반응형

spring

    [에러로그] UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL 해결방법

    [에러로그] UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL 해결방법

    [ 상황 ] Swagger 관련 설정을 하면서 서버를 시작하면 아래와 같은 오류가 발생했습니다. UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL... .NoSuchBeanDefinitionException: No qualifying bean of type 'java.util.List'... . . . [ 원인 ] 구글링을 해본 결과, spring context와 관련된 설정이 중복되어 발생한 문제였습니다. [ 해결 방법 ] @EnableWebMvc를 사용하는 파일에서 @Configuration을 지워줍니다. [ 오류 전체 로그 ] Caused by: org.sp..

    [Spring Project] 스프링 3.x에서 4.x로 버전 업그레이드하기

    [Spring Project] 스프링 3.x에서 4.x로 버전 업그레이드하기

    안녕하세요! 오늘은 스프링 3.x에서 4.x로 버전 업그레이드하는 방법에 대해 알려드릴게요! 저는 스프링 Tiles3를 사용하려고 3.1.1 RELLEASE에서 4.3.13 RELLEASE 버전으로 업그레이드를 하였습니다. 먼저 pom.xml 에서 스프링 버전을 3.1.1 RELLEASE에서 4.3.13 RELLEASE 버전으로 변경합니다. 그 다음으로 maven-compiler-plugin의 source와 target을 1.6에서 1.8로 변경합니다. 프로젝트 우클릭 > Maven > Update Project 를 진행합니다. 이렇게 스프링 3.x에서 4.x로 버전 업그레이드가 완료되었습니다! 이상으로 자바 환경변수 설정하는 방법을 마치겠습니다. 도움이 되셨다면 ❤와 구독하기 눌러주세요! :)

반응형