Error/Spring
Error creating bean with name 'Service' defined in class path resource [context.xml]:
dev?
2020. 4. 28. 10:59
반응형
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'Service' defined in class path resource [context.xml]:
Initialization of bean failed; nested exception is org.springframework.beans. TypeMismatchException: Failed to convert property value of type [$Proxy54 implementing
[원인]
mybatis-context.xml의 위치를 선언하지 않아 발생한 문제
[해결]
web.xml의 contextConfigLocation 파라메터에 설정파일들의 위치를 선언
출처:
https://okky.kr/article/281667
반응형