만족은 하되 안주하지는 말자

기록해야 기억한다

프로그래밍/backend&devOps 23

[error] 스프링부트 'Error:java: Illegal char <:> at index 4: http:\api.jquery.com' 에러 해결 기록

프로젝트를 빌드하려고보니 이런 오류가 뜬다. 추적도 되지 않고 난감하다.. 오류의 이유는? Jquery 라이브러리가 문제가 생긴 것 같다. 해결법 1. [Ctrl + Alt + Shift + S] 를 누른다. 2. 설치된 모듈중 'jquery' 를 찾는다. 3. 그 모듈을 우클릭해 remove 한다. 4. 우측 탭에서 Maven을 클릭해 새로고침 하면 모듈이 재설치 된다. 이제 다시 잘 될 것이다.

[Docker] 유용한 도커 명령어 셋

모든 도커 프로세스를 끄고 지운다. (초기화) docker stop $(docker ps -a -q) docker rm $(docker ps -a -q) docker rmi -f $(docker image list -aq) //이미지 전체 삭제 docker volume prune 언제 쓰면좋나? ERROR: for peer0.org1.example.com Cannot create container for service peer0.org1.example.com: Conflict. The container name "/peer0.org1.example.com" is already in use by container "871e6540233fa80a215da86f74c64e28d46d9a955409fde467e..

[SpringBoot] Entity 생성시간, 수정시간 자동화 하기 (JPA Entity 에 CreatedDate, ModifiedDate Auditing 하기)

문제 게시판의 게시물등의 Entity 를 만들때 생성일시와 마지막으로 수정한 일시를 추가하고 싶다. Entity 정의 채용플랫폼의 지원서 테이블을 만들어보고자 한다. @AllArgsConstructor @NoArgsConstructor @Entity public class Application { @GeneratedValue(strategy = GenerationType.IDENTITY) @Id private Long applicationId; // @Column(nullable = false) // private Date dateCreated; // 이렇게 꼭 멤버 선언을 해줘야 할까? // @Column(nullable = false) // private Date lastUpdated; @Column..

[Docker] The container name "..." is already in use by container 에러 해결법

이런 오류를 겪는다면? ERROR: for peer0.org1.example.com Cannot create container for service peer0.org1.example.com: Conflict. The container name "/peer0.org1.example.com" is already in use by container "871e6540233fa80a215da86f74c64e28d46d9a955409fde467ec670fCreating peer0.org2.example.com ... error hyperledger fabric 을 연습하는 도중 이런 에러가 떴다. 해석하자면 "이미 같은 컨테이너 이름을 가진 컨테이너가 존재하니 이를 지워라" 라는 것이다. 3번째 줄의 값이 cont..

[github] 컴공 3,4학년 취준생 및 주니어 개발자에게 유용한 깃 허브 저장소들

github 는 code, package,module 들을 협업하기 위한 기능뿐 아니라, 일종의 커뮤니티, 아카이브 기능으로 사용하는 repo들도 많다. 그중에서도 컴공 취준생 주니어 개발자들을 위해 좋은 취지로 만들어진 몇개의 깃허브 링크를 소개하고자 한다. 1. 기술 면접 질문 답변을 위한 인터뷰 아카이브 https://github.com/WooVictory/Ready-For-Tech-Interview WooVictory/Ready-For-Tech-Interview 💻 신입 개발자로서 준비를 하기 위해 지식을 정리하는 공간 👨‍💻. Contribute to WooVictory/Ready-For-Tech-Interview development by creating an account on GitHub...

[Spring] WebClient 를 이용하여 외부 API 데이터를 받아보자

- springboot 2 - webFlux - thymeleaf WebClient? https://www.baeldung.com/spring-5-webclient Spring 5 WebClient | Baeldung Discover Spring 5's WebClient - a new reactive RestTemplate alternative. www.baeldung.com Spring 에서 제공하는 REST 클라이언트 중 하나. RestTemplate 를 많이 활용하였으나 공식적으로 deprecated 되기 때문에 WebClient 를 사용하기로 하였다. 가장 큰 특징은 Asynchronous I/O 방식. 따라서 블로킹되지 않아 기존의 RestTemplate 보다 성능이 좋다. 실습해보자 1. 관련..