개발 여정/Error
-
ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app 해결개발 여정/Error 2023. 1. 27. 23:03
에러 문구 ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\..\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\...\eslint-config-react-app\base.js". 해결방법을 구글링하면 다음과 같은 방법들이 나온다. 1. package.json 파일 다시 저장하기 해결되긴 하지만 프로젝트를 새로 켤 때마다 ctrl+s를 눌러줘야되기 때문에 번거로웠다. 2. 폴더 or 파일 대소문자 확인하기 실행하고 있는 터미널에서 폴더 or 파일 대소문자가 제대로 되어 있는지 확인한다. 대소문자가 ..
-
org.apache.http.NoHttpResponseException개발 여정/Error 2022. 2. 24. 17:58
웹 서버 클라이언트의 쓰레드에서 충분한 리소스가 없을 때, 서버가 클라이언트에 response를 주지 않고 연결을 끊는 에러. 클라이언트 서버에서 재시도하면 보통 해결된다. In some circumstances, usually when under heavy load, the web server may be able to receive requests but unable to process them. A lack of sufficient resources like worker threads is a good example. This may cause the server to drop the connection to the client without giving any response. HttpClient..
-
400 에러 :: Required request parameter for method parameter type int is not present (jsp에 문제 없는 경우)개발 여정/Error 2021. 9. 17. 18:16
There was an unexpected error (type=Bad Request, status=400). Required request parameter 'missionId' for method parameter type int is not present *문제원인 - userId, userName도 method parameter에 넣었어야 했는데 안 넣음 - 그래서 userId와 일치하는 missionId를 찾지 못했던 것임 Bad Requests이지만 jsp에는 문제없고 Controller, BO, DAO 메소드에 문제가 있었던 에러.
-
500 에러 : Duplicate entry for unique index개발 여정/Error 2021. 9. 16. 19:46
### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '12-12' for key 'like.like_unique_idx_2' ; Duplicate entry '12-12' for key 'like.like_unique_idx_2'; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '12-12' for key 'like.like_unique_idx_2'] with root cause java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '12-12'..
-
500 에러 : Invalid bound statement (not found): com.calmstagram.post.DAO.LikeDAO.selectLikeByUserOrAnd개발 여정/Error 2021. 9. 16. 19:45
Mapper 문제 - DAO를 int로 받아서 mapper 쿼리에 count(1) 써야 하는데 컬럼을 다 써버림 + postid` 오타 전 SELECT userId , postId , createdAt FROM `like` WHERE postId` = #{postId} AND `userId` = #{userId} 후 SELECT count(1) FROM `like` WHERE postId = #{postId} AND `userId` = #{userId}
-
400 에러 :: Required request parameter for method parameter type String is not present개발 여정/Error 2021. 9. 16. 19:37
[org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver] Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required request parameter 'content' for method parameter type String is not present] 원래 코드 let commentContent = $('input[name=commentTxt]').val(); alert(commentContent); *문제원인 - 현재 댓글입력창은 contentList의 반복문 안에 있음 - 따라서 댓글 다는 곳의 postId를 지정해줘야..