본문 바로가기

Error21

[ERROR] Identify and stop the process that's listening on port 8081 or configure this application to listen on another port. Identify and stop the process that's listening on port 8081 or configure this application to listen on another port. port 8081을 사용하고 있는 process가 있을 경우 해당 메시지 뜸해당 port를 사용 중인 process를 확인하고 종료하거나, application의 port를 다른 port로 변경하라는 뜻   Windows에서 Port 사용 상태 확인netstat -ano | findstr :8081  taskkill /PID [PID] /Ftaskkill /PID 25868 /F`25868` 이라고 적혀져 있는 부분에 PID를 입력하면 된다.  PID (Process ID)시스템 내에서 실행 중인 .. 2024. 8. 19.
[ERROR] cannot add or update a child row: a foreign key constraint fails `스프링부트 SNS프로젝트` 클론 코딩을 하던 중, 포스트맨에서 테스트를 했는데 위와 같은 에러가 났다.해당 부분은 이미지에 '좋아요'를 하는 기능이었다.  java.sql.SQLIntegrityConstraintViolationException: (conn=1666) Cannot add or update a child row: a foreign key constraint fails (`photogram`.`likes`, CONSTRAINT `FKdrmcrl980hncyhnurju8nm5dy` FOREIGN KEY (`imageId`) REFERENCES `image` (`id`))해당 에러는 데이터베이스에서 외래키 제약 조건이 위반되었을 때 발생한다. 부모 키가 없는 경우부모 키의 삭제제약 조건 위반 .. 2024. 8. 4.
[ERROR] Web server failed to start. Port 8080 was already in use. 💾 spring boot: 3.3.0💾 jdk: 17    👉 문제2024-07-09T09:55:41.557+09:00 ERROR 12024 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter : ***************************APPLICATION FAILED TO START***************************Description:Web server failed to start. Port 8080 was already in use.Action:Identify and stop the process that's listening on port 8080 or configure this application to l.. 2024. 7. 9.
[ERROR] Could not obtain connection to query metadata 💾 spring boot: 3.3.0💾 jdk: 17    👉 문제2024-07-09T09:46:42.194+09:00 WARN 18712 --- [ restartedMain] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadataHibernate가 데이터베이스 메타데이터를 쿼리하기 위해 연결을 얻지 못했음을 나타낸단고 한다.git clone을 해서, 실행을 하려고 했다.기존에 작업하던 환경이랑 설정이 다르다 보니, 생긴 문제였다.더보기2024-07-09T09:46:42.194+09:00  WARN 18712 --- [  restartedMain] o.h.e.j.e.i.Jd.. 2024. 7. 9.
[ERROR] Uncaught TypeError: Failed to resolve module specifier "@popperjs/core". Relative references must start with either "/", "./", or "../". 👉 오류1Uncaught SyntaxError: Cannot use import statement outside a module (at bootstrap.esm.min.js:6:1)`Maven to Gradle` 프로젝트를 이어서 하던 중!console을 보니, 위와 같은 오류가 나는 것을 볼 수 있었다. 그래서 구글링을 해봤더니?  script에 `type="module"를 넣으라는 것이었다. 그래서 이렇게 type="module"을 넣고 다시 해봤더니?   👉 오류2Uncaught TypeError: Failed to resolve module specifier "@popperjs/core". Relative references must start with either "/", "./", or ".. 2024. 7. 8.
[ERROR] Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. 2024-06-03T20:44:01.912+09:00 ERROR 12604 --- [test] [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure th.. 2024. 7. 4.