Back-end/Spring Framework13 java spring 프로젝트 생성과 실행 기초 1. 메이븐 프로젝트로 생성 2. pom.xml 4.0.0 spring4 test1 0.0.1-SNAPSHOT org.springframework spring-context 4.1.0.RELEASE maven-conpiler-plugin 3.1 1.8 1.8 utf-8 3. src/main/resources/applicationContext.xml 4. 메인클래스에서 컨테이너에 있는 빈 불러 오기 public static void main(String[] args) { // TransportationWalk t = new TransportationWalk(); // t.move(); //Xml 불러옴 GenericXmlApplicationContext ctx = new GenericXmlApplicati.. 2020. 7. 21. 이전 1 2 다음