본문 바로가기

LEARN190

[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.
[ERROR] Name for argument of type [int] not specified, and parameter name information not available via reflection 기존 @GetMapping("/user/{id}") public String profile(@PathVariable int id) { return "user/profile"; }id가 인식이 안 됨  java.lang.IllegalArgumentException: Name for argument of type [int] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.2024-06-13T22:15:33.241+09:00 ERROR 10384 --- [nio-8080-exec-8] o.a.c.c.C.. 2024. 6. 30.
[ERROR] MySQL 의존성 설정 에러 (Caused by: Unable to resolve name [org.hibernate.dialect.MySQL57Dialect]) spring boot: 3.3.0Java: 17build: Gradle   수정 전💾 build.gradle 💾 application.ymlspring: datasource: url: jdbc:mysql://localhost:3306/crud_project?characterEncoding=UTF-8&allowMultiQueries=true username: username password: password driver-class-name: com.mysql.cj.jdbc.DriverMySQL이 의존성이 추가되어 있는데도, `application.yml`에서 빨간 글씨로 바뀌는 것을 볼 수 있었다.기존에 Maven 안에 있던 의존성이 Gradle로 변경이 되면서, 자동으로 변경이.. 2024. 6. 29.
[GIT] Github 깃허브 계정 여러 개 사용 (회사 및 개인 계정) Git bash1. SSH 경로 이동 및 생성된 SSH Key 확인👉 Git bashcd ~/.sshls -al  2. SSH key 생성ssh-keygen -t rsa -C "회사이메일" -f "id_rsa_aa"ssh-keygen -t rsa -C "개인이메일" -f "id_rsa_bb"비밀번호 사용X, 계속 엔터 쳐서 다음으로 넘어감   3. ssh-agent 실행eval "$(ssh-agent -s)"  4. ssh-agent에 개인키 추가ssh-add ~/.ssh/id_rsa_aassh-add ~/.ssh/id_rsa_bb  5. ssh-agent에 개인키 추가되었는지 확인ssh-add -l     Github에 새 ssh 공개키 추가하기code ~/.ssh/id_rsa_aa.pubcode ~.. 2024. 6. 28.