본문 바로가기

전체 글140

[Git] git clone 특정 브랜치 git 특정 브랜치 clone 하기 리포지토리를 클론한 다음 모든 브랜치들을 가져온다(fetch). 그리고나서 특정한 브랜치로 전환(checkout)한다. git clone --branch 또는 git clone -b 참고 : https://www.freecodecamp.org/korean/news/git-clone-branch-how-to-clone-a-specific-branch/ 2023. 11. 1.
[Spring/ Error] Web server failed to start. Port 8080 was already in use. 오류 : Web server failed to start. Port 9091 was already in use. 9091 포트가 이미 실행 중인데 스프링 프로젝트롤 또 실행할 경우 오류 발생 해결방법 : lsof -i tcp:{Port 번호} 의 결과로 나온 현재 Port로 실행중인 PID 번호 를 kill 해준다. sudo kill -9 {PID번호} 그리고 패스워드 입력 그러면 해당 Port로 실행 중인 프로세스를 죽일 수 있다. 참고 : https://dundung.tistory.com/148 2023. 10. 12.
[Spring/Error] No serializer found for class 오류 : No serializer found for class ... and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) Serialize : Object to JSON Deserialize : JSON to Object the default configuration of an ObjectMapper instance is to only access properties that are public fields or have public getters/setters. Jackson 라이브러리의 ObjectMapper는 Serialize 할.. 2023. 10. 10.
[IntelliJ/Spring] 단축키 모음 command + p : Parameter Info command + option + v : introduce Variable (반환 타입) option + enter : show Context Action command + option + n : inline 단축키 control + t : 검색 F2 : 오류 난 곳으로 이동 command + shift + T : 테스트 코드 만들기 option + enter : Assertions static으로 만들기 command + option + v : 타입 자동 완성 command + e : 히스토리 command + e + enter : 이전으로 돌아가기 command + option + M : extract method ctrl + r : 기존의 마지막 .. 2023. 8. 27.