목록error (13)
Chimy's Program
Warning: Each child in a list should have a unique "key" prop. JavaScript 라이브러리 중 하나인 React를 사용하다 발생한 에러로 JavaScript에서 배열 값을 하나씩 꺼내어 리턴할 때 react가 항목을 안정적으로 식별할 수 있도록 속성에 key값을 추가하여 반환해주어야 한다 참고1. ko.reactjs.org/docs/lists-and-keys.html#keys-must-only-be-unique-among-siblings 리스트와 Key – React A JavaScript library for building user interfaces ko.reactjs.org 해결1. 하지만 나는 위와 같은 코드로 배열에서 인자를 꺼낼 때 고유의 ..
Missing index for constraint '~' in the referenced table '~' foreign key를 설정하려고 할 때 참조되는 테이블의 컬럼이 기본키(Primary Key)이거나 유니크 키(Unique Key)여야 하는데 설정이 안되었기 때문에 오류가 발생했다 해결1. 해당 컬럼을 유니크 키로 변경한다 정상적으로 외래키가 반영된다
'Starting Tomcat v~ Server at localhost' has encountered a problem. Port ~ required by Tomcat v~ Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). 이미 사용 중인 포트 번호를 사용하려고 할 때 발생하는 오류로 중복된 해당 포트번호를 바꿔주면 해결된다 해결1. 하단 Servers탭..
'Starting Tomcat v~ Server at localhost' has encountered a problem. The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports. 해결1. 하단 Servers탭에서 해당 서버 더블클릭하여 상태 확인 ※ Server 탭이 안보일 시 상단 메뉴 Window > Show View > Others... 클릭 후 servers 검색 Open Ports에서 설정되지 않은 Tomcat admin port 설정하면 해결