https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3
모델 3
GitHub - spring-projects/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Sui
the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite - GitHub - spring-projects/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/...
github.com
** JDK ver 11 이상이여야 한다.
** 환경변수 설정
7/27
1.JSTL의 formatting,sql,functions 태그
2.STS 3.x 설치
(https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3)
3.2주 : 일반 Spring (3.x)
1주 : Spring Boot (4.x) -> JPA 연동
4.STS -> 최소 11.0
- 강사PC -> 최신 8.0 -> 11.0 이상의 버전을 설치
- C:\Spring\ 안에 JDK 설치
- Path, JAVA_HOME 설정 후에 STS 실행
5.NEW->Spring Legacy Project->Spring MVC Project->Project name:mySpring
6.package : com.bit.myapp
7.모든 인코딩 설정 : UTF-8
8.실행 -> http://localhost/myapp/
메이븐
https://mvnrepository.com/artifact/org.projectlombok/lombok/1.18.20
lombok 설정
https://dololak.tistory.com/783
[JAVA] Lombok이란? Lombok 적용하는 방법
Lombok이란? Lombok 이클립스에 적용하는 방법 Lombok(롬복)은 Java 라이브러리로 반복되는 getter , setter , toString 등의 메서드 작성 코드를 줄여주는 코드 다이어트 라이브러리입니다. 보통 Model 클래스
dololak.tistory.com



C:\Users\user\.m2\repository\org\projectlombok\lombok\1.18.20>java -jar lombok-1.18.20.jar
여기는 파일 이름말고 jar이 있는 폴더명까지만 입력해준다



<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter
</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
'Spring > Spring framework' 카테고리의 다른 글
| Mybatis이용한 Board2 (0) | 2021.08.03 |
|---|---|
| Board (0) | 2021.07.30 |
| Mybatis (2) | 2021.07.29 |
| DB연결 코드와 자주 쓰는 코드 지정해두기 (0) | 2021.07.29 |
| Model 객체 (0) | 2021.07.29 |
| Spring 기초 (0) | 2021.07.28 |