Framework/Spring
[Spring] xml 파일(Spring Bean Configuration File) 생성
이단서로
2018. 8. 31. 17:07
/*
* OS: Windows 10
* STS Version: sts-3.9.5.RELEASE
* Project: Spring Legacy Project
* Title: Spring Bean Configuration File 생성
*/
프로젝트 생성(Spring Legacy Project 생성) 후
프로젝트 선택
src/main/resources 선택 후
New> Spring Bean Configuration File 선택
application.xml 파일 생성함.
application.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
</beans>
728x90