본문 바로가기

깃허브 라이센스 추가하기 (github add license) 1. 추가할 레파지토리로 가서 create new file 을 선택해주세요 2. 파일 이름을 LICENSE 또는 LICENSE.md 선택하면 오른쪽에 Choose a license template가 나타납니다. 클릭해주세요 3. 라이센스를 선택해주세요 4. 연도와 이름을 입력하고 Review and submit 버튼을 눌러주세요 더보기
Spring RestTemplate 요청시 403 에러 날때 해결법 문제점 RestTemplate 으로 외부 api 찌르는데 403 에러가 난다. org.springframework.web.client.HttpClientErrorException: 403 Forbidden해결법아래와 같이 헤더에 uger agent 정보를 입력해 준다. RestTemplate restTemplate = new RestTemplate(); HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.valueOf("text/plain;charset=utf-8")); headers.add("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" + " AppleWebKit/5.. 더보기
jhipster gradle 인텔리제이에서 실행이 안되는 문제 문제jhipster gradle 기반 intellij 에서 실행 시키면 아래와 같은 에러가 났다. Description: Parameter 1 of constructor in service required a bean of type Mapper' that could not be found. Action: Consider defining a bean of type 'Mapper' in your configuration. 해결법그래들 파일에 아래 플러그인을 추가해준다. plugins { id 'net.ltgt.apt' version '0.9' } apply plugin: 'idea' apply plugin: "net.ltgt.apt" 출처https://github.com/jhipster/generator-j.. 더보기