genericxmlapplicationcontext 에서 계속 import가 안 되는 것이었다.
import org.springframework.context.support.GenericXmlApplicationContext;
강제로 하였으나 에러가 났다. 아마도 maven이상이거나 springFramework를 아직 설치하지 않아서 그런 것 같았다.
자바로 진행 중이어서 그런 것. 그리 심각한 오류로 생각되지 않지만. 아직 해결 못한 건 찜찜하다.
이 에러를 잡으려고 검색을 해보니 적당한 페이지가 나왔다.
[Spring] The type org.springframework.core.io.Resource cannot be resolved 에러 해결법
Spring 실습 도중 에러가 생겼다. 문제 상황 spring 실습을 시작할 때 가장 처음 쓰게되는 구문이다. 여기서 GenericXmlApplicationContext("config/beans.xml");에 에러가 생긴다 해결 방법 1. import 하여 해결 2. mave
velog.io
'spring framwork 에러노트' 카테고리의 다른 글
An error has occurred. See error log for more details. Could not initialize class com.thoughtworks.xstream.converters.collections.PropertiesConverter (0) | 2022.08.27 |
---|---|
이클릭스 삭제 후 재설치 (0) | 2022.08.26 |
이클립스에 sts 플러그인이 설치 안 되는 문제 (0) | 2022.08.26 |
Cannot access defaults field of Properties (0) | 2022.08.25 |
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path (0) | 2022.08.23 |