일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- nvm
- credential
- npm
- 스카우터
- subtree
- APM
- stern
- 어노테이션
- TroubleShooting
- k8s
- annotation
- Trouble
- 패턴
- node
- github
- node버전
- Containers
- PODS
- TypeScript
- Scouter
- Vue-CLI
- jpa
- Shooting
- docker
- 트러블슈팅
- VUE
- MVVM
- git
- log
- Today
- Total
목록1st Album - Dev/02. Spring (2)
JSheep`s Album

1. 테스트 코드 작성 - main 패키징 하위 - Application 생성 - web 패키지 생성 test 패키징 하위 - main 패키징 하위와 동일하게 생성 1. 1. HelloResponseDto package com.jsheep.book.springboot.web.dto; import lombok.Getter; import lombok.RequiredArgsConstructor; /* 선언된 모든 필드의 get 메소드를 생성해 줍니다 */ @Getter /* 선언된 모든 final 필드가 포함된 생성자를 생성해 줍니다. final이 없는 필드는 생성자에 포함되지 않습니다. */ @RequiredArgsConstructor public class HelloResponseDto { private ..

1. 프로젝트 생성 - Name 입력 - 저장위치 선택 - Language 언어 선택 - Java - Build system - Gradle 선택 - JDK 선택 Create후 Gradle 프로젝트가 생성 2. Gradle 프로젝트를 스프링 부트 프로젝트로 변경 - build.gradle를 연다 buildscript { ext { springBootVersion = '2.1.7.RELEASE' } repositories { mavenCentral() jcenter() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'java' apply p..