Springboot

    [Springboot] 블로그 만들기 (5)_Yaml, Yml 설정, JSP 연결

    1. Yaml 이란 ? https://www.inflearn.com/questions/16184/yaml%ED%8C%8C%EC%9D%BC-%EC%9D%B4%EB%9E%80-%EB%AC%B4%EC%97%87%EC%9D%B8%EA%B0%80%EC%9A%94 yaml파일 이란 무엇인가요 - 인프런 | 질문 & 답변 안녕하세요 강사님너무 질문이 많아서 죄송합니다.yaml파일 이라는 단어를 요 근래 많이 듣고 있는데 정확인 무슨 파일인가요검색해 보지도 않고 무조건 질문을 드리는것 같아서 죄송하지만 쉽 www.inflearn.com 2. yml 설정 application.yml = web.xml + root-context.xml + servlet-context.xml application.yml 에 코드 추가 se..

    [Springboot] STS4에 HTML, CSS, JSP 없을때

    STS툴 상단의 Help - Eclipse Marketplace 클릭 java and web을 검색후 install

    [Springboot] 블로그 만들기 (4)_Lombok 세팅하기

    git bash 를 이용해서 롬복과 STS4를 연동 C:\Users\사용자명\.m2\repository\org\projectlombok\lombok\1.18.12 폴더로 이동한다. git bash 열고 경로설정 다시 프로젝트를 켜서 어노테이션으로 Getter를 치고 ctrl + space 를 했을때, 상단에 import lombok.Getter 가 생기면 성공!! 이제 앞으로 귀찮게 getter, setter, 생성자, toString 등을 만들 필요가 없다. @Getter, @Setter, @Data, @AllArgsConstructor, @NoArgsConstructor package com.lwj.blog.test; import lombok.AllArgsConstructor; import lombo..

    [Springboot] 블로그 만들기 (3)_MySQL 연동하기

    MySQL WorkBranch 실행 계정생성 및 권한부여 -- 유저이름@아이피주소 create user 'lwj'@'%' identified by '1213'; -- ON DB이름.테이블명 -- TO 유저이름@아이피주소 GRANT ALL PRIVILEGES ON *.* TO 'lwj'@'%'; CREATE DATABASE blog CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; MySQL 한글 설정 [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] collation-server = utf8_unicode_ci init-connect='SET NAMES utf8' ini..

    [Springboot] 블로그 만들기 (2)_프로젝트 실행

    프로젝트 생성 의존성 추가 추가적인 의존성 추가 시큐리티 태그 라이브러리, JSP 템플릿 엔진, JSTL 을 추가한다. 아래의 사이트에 가서 검색을 통해 설치할 수 있다. https://mvnrepository.com/ 하지만 일일이 찾기 귀찮기 때문에 메타코딩님 블로그에 가서 복사해왔다. https://getinthere.tistory.com/16 스프링부트 with JPA 블로그 2강 - 의존성 설정 1. Spring Boot DevTools https://docs.spring.io/spring-boot/docs/1.5.16.RELEASE/reference/html/using-boot-devtools.html 20. Developer tools Applications that use spring-bo..

    [Springboot] 블로그 만들기 (1)_개발 환경 구축 (MySQL사용)

    1. Oracle JDK 11 설치 오라클 사이트에 회원가입이 되어있어야 다운로드가 가능하다. https://www.oracle.com/kr/java/technologies/javase/jdk11-archive-downloads.html Java Archive Downloads - Java SE 11 | Oracle 대한민국 WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. Fo..