STS( or 이클립스) 에서 source folder 로 config 생성 이후 config 아래 beans.xml 파일을 생성하면 프로그램에서
beans.xml에 접근하려려고 하면 아래와 같이 경로를 잡아주어야 오류가 없음
//IOC 컨테이너
ApplicationContext context = new GenericXmlApplicationContext("beans.xml");
@ContextConfiguration(locations="classpath:beans.xml")
spring framework connection mybatis 설정방법 (0) | 2024.04.18 |
---|---|
이클립스 에서 window -> show view 선택시 Servers 를 보이게하고 싶을 때 (0) | 2024.04.07 |
Class<SpringJUnit4ClassRunner> cannot be resolved to a type STS 20230926 (0) | 2023.09.26 |
Java 버전별 major version 번호. (0) | 2023.09.09 |
스프링과 마이바티스 자료 Spring + Mybatis 에서 Query 변경 서버 재 시작 없이 Reload (퍼옴) (0) | 2023.07.17 |
댓글 영역