본문 바로가기

Spring

(6)
이클립스 Spring sts 프로젝트 실습 pom.xml 4.0.0 org.springframework.boot spring-boot-starter-parent 2.5.5 com.example Sts01 0.0.1-SNAPSHOT Sts01 Demo project for Spring Boot 11 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test org.apache.tomcat.embed tomcat-embed-jasper javax.servlet.jsp.jstl jstl-api 1.2 jar org.springframework.boot spring-boot-maven-plugin Controller packag..
이클립스 Spring sts 프로젝트 실습 pom.xml 4.0.0 org.springframework.boot spring-boot-starter-parent 2.5.5 com.example Sts01 0.0.1-SNAPSHOT Sts01 Demo project for Spring Boot 11 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test org.apache.tomcat.embed tomcat-embed-jasper javax.servlet.jsp.jstl jstl-api 1.2 jar org.springframework.boot spring-boot-maven-plugin Controller packag..
이클립스 spring mybatis 프로젝트 실습 https://mvnrepository.com/ commons-dbcp commons-dbcp commons-dbcp 1.4 mysql mysql mysql-connector-java 8.0.26 mybatis org.mybatis mybatis 3.5.7 pom.xml 4.0.0 Mybatis01 Mybatis01 0.0.1-SNAPSHOT commons-dbcp commons-dbcp 1.4 mysql mysql-connector-java 8.0.26 org.mybatis mybatis 3.5.7 org.apache.maven.plugins maven-compiler-plugin 3.8.1 mybatis-config.xml Mapper.xml insert into table01(age) values(..
이클립스 spring maven 프로젝트 https://mvnrepository.com/ maven context 검색 org.springframework spring-context 5.3.10 maven-compiler-plugin org.apache.maven.plugins maven-compiler-plugin 3.8.1 interface Fuel{ String getFule(); } class Water implements Fuel{ public String getFule() { return "물"; } } class Airplane{ Fuel fuel; Airplane(Fuel fuel){ this.fuel = fuel; } void Fly() { System.out.println(fuel + "날다"); } } public class..
이클립스 spring maven 프로젝트 생성 maven 내가 필요한 라이브러리를 다운 받아 버리는 형식 group id org.springframework appect id spring-context version 5.2.9.RELEASE pom.xml 현재 사용할 라이브러리를 설정 다운 https://spring.io/guides/gs/spring-boot/ Building an Application with Spring Boot this guide is designed to get you productive as quickly as possible and using the latest Spring project releases and techniques as recommended by the Spring team spring.io 빌드 추가 m..
이클립스 Spring mvc 패턴 실습 mvc 메이븐 프로젝트 생성 기본 단계 프로젝트 설정(Properties) 1.5는 자바 버전을 의미한다. 자신에게 맞는 자바 버전으로 맞춰준다. 설정 변경 후 프로젝트 리프레쉬 해준다. 다이나믹 웹 모듈이 3.0으로 변경 되어 있으면 올바르게 변경된 것이다. 2.step 프로젝트 생성을 위한 파일 설정 alt + f5번을 이용한다. 4.0.0 Spring999 Spring999 war 0.0.1-SNAPSHOT Spring02 Maven Webapp http://maven.apache.org 4.0.1.RELEASE Spring Plugins https://repo.spring.io/plugins-release/ junit junit 4.7 test javax.servlet.jsp jsp-api 2.2..