- Unsupported class file major version 64
- 프로젝트를 새로 파는데 자꾸 해당 관련 오류가 발생하였다.
이상하게도 생성하자마자 계속 발생하길래 근본적인 문제가 있지않나 싶었다.
- https://stackoverflow.com/questions/75878942/spring-initializr-project-results-in-unsupported-class-file-major-version-64
Spring initializr project results in Unsupported class file major version 64
When I create a new project using the Spring initializr Gradle won't build the project. I use IntelliJ IDEA. The error message is * Exception is: org.gradle.cache.CacheOpenException: Could not open...
stackoverflow.com
- 해당 문제는 JDK 버전의 문제가 있었다. Java와 똑같이 17로 맞춰주었더니 해결하였다.
- 스프링부트에 H2 연결 관련 오류
- url 등 제대로 작성하여 연결하고자 하였다.
- 하지만 데이터베이스가 생성이 되지 않았다. 그래서 관련된 사항을 찾아보았다.
- https://stackoverflow.com/questions/72255338/intellij-embedded-h2-database-tables-do-not-appear
Intellij embedded H2 database tables do not appear
I'm creating a Spring Boot application and I'm using Intellij's embedded h2 database. I have added the following lines in my application.properties file: spring.datasource.url=jdbc:h2:~/testdb;MV_S...
stackoverflow.com
- Advanced -> Expert Options -> Introspect using JDBC method 의 체크박스에 체크하였다. 해결완료.
'개발공부 > Java/Spring' 카테고리의 다른 글
[Spring] 테스트코드 (1) (0) | 2023.07.11 |
---|---|
[Git] ignore intelliJ에 추가, 재적용 (0) | 2023.04.18 |
객체지향 & JVM (1) | 2023.04.09 |
내가 정리한 Java의 기초(2) (0) | 2023.04.07 |
내가 정리한 Java의 기초(1) (0) | 2023.04.04 |
댓글