일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- javascript
- Web Server
- 요리
- MySQL
- Gradle
- redis
- IntelliJ
- Spring
- db
- 맛집
- Design Patterns
- Oracle
- Spring Boot
- jsp
- java
- JPA
- elasticsearch
- linux
- docker
- ubuntu
- php
- laravel
- springboot
- ReactJS
- Git
- AWS
- jenkins
- it
- devops
- tool
- Today
- Total
목록2020/11 (5)
아무거나
Intellij Lombok 사용 (Mac) Preference -> Plugins -> Browse Repositories 에서 Lombok Plugin 추가 Prepference -> Build, Execution, Deployment -> Compiler -> Annotation Processors "Enable Annotation Processors" 체크 Lombok Annotations @Getter @Setter Getter / Setter Method 생성(모든 필드의 타입에 맞추어 생성) Class에 적용하면 static을 제외한 모든 필드에 적용 AccessLevel 을 명시하지 않으면 public 종류: PUBLIC, PROTECTED, PACKAGE, PRIVATE, NONE 특정 ..
Field Injection이 아닌 Constructor Injection 사용하자 평소 개발시에 스프링쪽이라든지 타 포스팅을 참고하여 Field Injection이 아닌 Constructor Injection 을 지향하게 되었다. 하지만 그 당시 간략히 이해만하고 넘어간지라 최근에 해당 내용에 대해 설명을 해야할 일이 생겼을 때 간략한 내용만 전달하게 되어서 좀 더 자세한 내용을 다시 복습하고자 포스팅을 작성하게 된다. [의존성 주입의 종류] Setter Injection public class ExampleClass { @Autowired private ExampleService1 exampleService1; @Autowired private ExampleService2 exampleService2..
1. 계란 노른자만 밥이랑 미리 비빈다 2. 소금으로 간을 살짝한다 3. 양파를 잘게 썰어 섞는다. 4. 후라이팬에 흰자만 스크램블한다. 5. 대파를썰고 파기름을 내서 거기에 밥을 볶는다. 6. 버터를 넣고 볶는다. 7. 소금간을한다.
Build 할 때 java.lang.NoClassDefFoundError: org/gradle/wrapper/GradleWrapperMain 에러 해결 원인: gradle wrapper 실행파일(gradle-wrapper.jar)이 없어서 문제가 생김. (.gitignore 를 확인 커밋할때 제외될 가능성이 높음) 해결방법 gradle 설치 $ wget https://services.gradle.org/distributions/gradle-5.2.1-bin.zip $ mkdir /opt/gradle $ sudo mkdir /opt/gradle $ sudo unzip -d /opt/gradle gradle-5.2.1-bin.zip $ export PATH=$PATH:/opt/gradle/gradle-5.2..