Error/Spring
Caused by: org.springframework.beans.factory.BeanCreationException:
dev?
2020. 4. 28. 11:00
반응형
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
[해결]
1. pom.xml 파일의 repositories 부분을 ctrl + x 한 다음 저장한다.
저장후 프로젝트 빌드 후, 다시 내용을 붙여놓고 저장후 다시 빌드 한다.
2. 프로젝트 우클릭 -> Build Path -> Configure Build Path.. 로 이동,
Libraries 에 빨간색 표시 부분이 있는지 확인
3. window -> preference -> server에 Tomcat 서버가 제대로 설정되어 있는지 확인,
server 탭에서 서버를 지운 뒤 다시 추가해준다.
4. Problems 탭을 확인.
출처:
반응형