0

so i get this error

/Users/apple/Downloads/Seasalt-Konsumen/src/main/java/com/seasalt/repository/KonsumenRepository.java:4:47 java: cannot access org.springframework.data.jpa.repository.JpaRepository bad class file: /Users/apple/.m2/repository/org/springframework/data/spring-data-jpa/3.0.0/spring-data-jpa-3.0.0.jar!/org/springframework/data/jpa/repository/JpaRepository.class class file has wrong version 60.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath.

and

/Users/apple/Downloads/Seasalt-Konsumen/src/main/java/com/seasalt/repository/KonsumenRepository.java:5:38 java: cannot access org.springframework.stereotype.Repository bad class file: /Users/apple/.m2/repository/org/springframework/spring-context/6.0.2/spring-context-6.0.2.jar!/org/springframework/stereotype/Repository.class class file has wrong version 61.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath.

my javac version is 11 and java is 11 and my project structure is already configured too on version 11

i try to run springboot and run like usual but i changed laptop and install everything

java version project structur

  • Please read the documentation: [Preparing for Spring Boot 3](https://spring.io/blog/2022/05/24/preparing-for-spring-boot-3-0#:~:text=Spring%20Boot%203.0%20will%20require,really%20well%20with%20Java%2017.) – Jorge Campos Dec 09 '22 at 07:04

0 Answers0