발생한 오류 테스트를 하던 중 처음 보는 에러를 보게되었다. Caused by: org.springframework.dao.DataIntegrityViolationException: executeMany; no partition of relation "(테이블 명)" found for row; nested exception is io.r2dbc.postgresql.ExceptionFactory$PostgresqlDataIntegrityViolationException: [23514] no partition of relation "(테이블 명)" found for row 해당 오류는 Spring Boot에서 PostgreSQL를 R2DBC(Reactive Relational Database Connecti..
배열로 이루어진 데이터를 map 메소드를 사용하여 출력하는 과정에서 다음과 같은 에러가 발생했다. TypeError: Cannot read property 'map' of undefined 멀쩡하게 잘 돌아가던 map이 왜 알수 없는 property인지 이해가 안갔다. 문제는 React의 랜더링 순서 때문이다. React는 렌더링이 화면에 커밋 된 후에 모든 효과를 실행한다. 즉, React는 return에서 반복실행을 할 때 첫 턴에 데이터가 아직 들어오지 않더라도 렌더링이 실행된다. 이 때문에 데이터를 사용하여 반복문을 돌리는 map은 undefined인 데이터로 반복문을 돌려 에러가 발생하는 것이었다. 버튼을 클릭하면 클릭한 데이터의 좌표 이력을 새로운 페이지의 지도에 보여주는 기능을 만들고 있었다..
프로젝트를 암호화 후에 localhost에서 실행해보려 했더니 Reason: Task ':processResources' uses this output of task ':extractProto' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. 라는 오류가 발생해서 이걸 해결하는데 꽤 시간이 걸렸다. 결론부터 말하자면 이전 프로젝트에서 JDK 버전이 제대로 맞지 않아 이미 실행이 안되고 있던 상태였다. Process 'command 'C:/Program Files/OpenJDK/jdk..