Angular를 사용하다가 갑자기 다음과 같은 Circular dependency detected 경고문이 나왔다. Dependency import와 export를 잘못 사용해서 나오는 경고문이다. 제일 좋은 방법은 필요없는 import 및 export를 지우는 것인데너무 많아서 해결하기 힘들면 다음과 같이 사용해도 된다. WARNING in Circular dependency detected: src/app/_core/index.ts -> src/app/_shared/shared.module.ts -> src/app/_shared/component/goodssearch/goodssearch.component.ts -> src/app/_core/index.ts WARNING in Circular depe..
기본적으로 HTTP 상태 코드로 매핑되는 스프링 예외 스프링 예외 HTTP 상태코드 BindException 400 - Bad Request ConversionNotSupportedException 500 - Internal Server Error HttpMediaTypeNotAcceptableException 406 - Not Acceptable HttpMediaTypeNotSupportedException 415 - Unsupported Media Type HttpMessageNotReadableException 400 - Bad Request HttpMessageNotWritableException 500 - Internal Server Error HttpRequestMethodNotSupporte..
Html Textarea에 있는 내용을 줄바꿈 까지 String으로 저장해 DB에 넣었다가나중에 불러오는 경우가 있다. 무조건적인 방법이 아니라 여러가지 방법중의 하나이다 예를들면 이런글을 DB에 넣고 싶다. // Client단이나 Server단 중 어디서 처리를 하든 자유 //textarea안에서 사용할 줄바꿈은 db에 저장할 때 치환을 해야한다 replaceAll이 없어 정규화로 대체 notice.content=notice.content.replace(/(?:\r\n|\r|\n)/g," "); //정규화를 통한 br태그를 textarea 안에서 사용할 \r\n으로 치환 this.selectedNotice.content = this.selectedNotice.content.replace(/ /g,"\r..
설치 npm install 모듈명@version-g : 전역설치--save : pakage.json에모듈업데이트 npm uninstall 모듈명-g npm update-g npm dedupe npm의 중복된 패키지들을 정리할 때 사용 package.json의 구조 { "name" : 해당 모듈의 이름을 정의한다. (이름에 'node' 나 'js' 가 들어가면 안된다.) "version" : 해당 모듈의 버전을 정의한다. "description" : 해당 모듈의 추가적인 설명을 정의한다. "main" : node에서 해당 package.json 을 탐색할 때 기준이 되는 파일 이름을 정한다. 기본적으로 index 로 설정이 되며, 생략이 가능한 부분이지만 추후 프로젝트가 복잡해진다면 이 항목을 정의 할 필..
- Total
- Today
- Yesterday
- data gird component
- python3
- CSS
- jQuery
- Spring
- JPA
- data grid component
- react
- data table component
- localStorage
- https://www.tistory.com/auth/logout/
- Router
- MySQL
- angular router
- 파이썬3
- facebook login
- data component
- 페이스북 로그인
- mobx
- 파이썬
- Python
- JavaScript
- JSON
- Spring Boot
- Angular
- Java
- data component module
- React-router
- Redux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |