Develop Develop 2023. 3. 30. Error handling response: TypeError: Cannot read properties of undefined (reading 'always') 리액트로 배포한 앱에서 디버깅 중 콘솔을 보니 알 수 없는 오류가 발생했다. Error handling response: TypeError: Cannot read properties of undefined (reading 'always') 나의 경우에는 드래그 프리라는 크롬 익스텐션이 설치되어 있어서 위와 같은 오류가 발생하였다. 방법은 간단했다. 드래그 프리를 삭제한다. Develop/K8s 2023. 3. 23. 쿠버네티스 kubectl alias as k $ alias k=kubectl $ echo "alias k=kubectl" >> ~/.bashrc $ source Develop/Java 2023. 3. 21. classpath* vs classpath 차이점 현재 프로젝트의 resource만 선택 한다는 것과 ( classpath ) 현재 프로젝트에 관련(참조)된 모든 jar를 다 검색하여 리소스를 선택 한다는 차이 ( classpath*) 입니다. Develop/Linux 2023. 3. 18. LFTP NAS 접속 시 한글 깨짐 문제 해결 집에 있는 NAS 환경에 MAC을 통해 접속할 일이 생겼다. lftp를 사용 시 분명 한글 깨짐 현상이 없다고 했는데 막상 접속해보니 한글이 와장창 깨졌다. 해결 방법은 간단했다. lftp를 통해 NAS에 접속한 뒤 set ftp:charset cp949를 입력해주는 것이다. Develop/Spring 2023. 2. 19. JpaRepository 대신 Repository 를 사용해야 하는 이유 https://velog.io/@ohzzi/JpaRepository-No-Repository-Yes Develop/Java 2023. 1. 2. 자바 코딩 컨벤션 적용하기 코딩 컨벤션 적용에 있어서 너무 좋은 글이 있어서 좌표를 찍어둡니다. https://055055.tistory.com/97 인텔리제이 코딩 컨벤션 설정 코딩 컨벤션(코드 컨벤션) Coding conventions are a set of guidelines for a specific programming language that recommend programming style, practices, and methods for each aspect of a program written in that language. 출처 : https://en.wikipedia. 055055.tistory.com CodeStyle 플러그인과 구글의 intellij-java 컨벤션 xml에 대해 소개합니다. 추가적으로 In.. Develop/Java 2022. 12. 16. @AllArgsConstructor와 @RequiredArgsConstructor 차이 @RequiredArgsConstructor 초기화 되지 않은 final 필드와 @NonNull 어노테이션이 붙은 필드에 대한 생성자를 생성합니다. @AllArgsConstructor 모든 필드에 대한 생성자를 생성합니다. @RequiredArgsConstructor @RequiredArgsConstructor generates a constructor with 1 parameter for each field that requires special handling. All non-initialized final fields get a parameter, as well as any fields that are marked as @NonNull that aren't initialized where they .. Develop/Spring 2022. 12. 15. Spring Boot ServletInitializer Spring Boot ServletInitializer SpringBootServletInitializer는 무엇이고 왜 상속받고 있는가? SpringBoot 웹 애플리케이션을 배포할 때는 주로 embedded tomcat이 내장된 jar파일을 이용합니다. 하지만 특별한 경우에는 전통적인 배포 방식인 war 파일로 배포를 진행해야 하는 경우가 있을 수 있습니다. 이럴 경우 SpringBootServletInitializer를 상속받으면 됩니다. 즉, war 파일로 빌드하고 배포하지 않을 거라면 SpringBootServletInitializer를 상속할 필요가 없다는 의미입니다. 왜 SpringBoot 웹 애플리케이션을 war로 배포할 때 SpringBootServletInitializer를 상속해야 하.. 이전 1 2 3 4 다음