Error(16)
-
[Error ] unsupported java. your build is currently configured to use java 21.0.1 and gradle 8.7. possible solution: - use java 20 as gradle jvm: open gradle settings - open gradle wrapper settings, change `distributionurl` property to use compatible gradl
Background : IntelliJ에서 Springboot 프로젝트를 돌릴 때, 테스트를 돌리면 다음 에러가 발생했다.unsupported java. your build is currently configured to use java 21.0.1 and gradle 8.7. possible solution: - use java 20 as gradle jvm: open gradle settings - open gradle wrapper settings, change `distributionurl` property to use compatible gradle version and reload the project 원래 프로젝트를 돌리고 테스트를 다시 돌리니까 spring-boot가 뜨면서 로그에 다음 에..
2024.05.03 -
Error: the java.jdt.ls.java.home variable defined in visual studio code settings (/library/java/javavirtualmachines/jdk-21.jdk) does not point to a jdk.
Background: 내 노트북에 새로운 java 21버전을 다운받으면서 vsc에서 돌리던 자바 프로젝트가 안돌아갔다. vsc에서 jdk 21을 쓰도록 설정했지만, 뭔가 꼬이면서 제대로 실행이 제대로 안됐다. 이를 해결하기 위해 아래와 같이 settings.json에 들어가서 jdk를 jdk-21로 설정해줬지만 에러가 발생했다. "java.jdt.ls.java.home": "/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home" Error: the java.jdt.ls.java.home variable defined in visual studio code settings (/library/java/javavirtualmachines/jdk-21.jdk)..
2024.03.14 -
IntelliJ에서 Spring Boot Project 열때 에러 : A problem occurred configuring root project.
Background : 인텔리제이에서 Spring Boot Project를 열 때 Java 버전 compatability 에러가 발생했다. 내가 다운받은 프로젝트는 Java 21이 필요했는데, 내 노트북 버전은 11로 맞춰져 있었다. 이때 간단하게 버전만 21로 바꿔주면 해결가능하다. (단, 21버전이 노트북에 깔려 있어야함) Error : A problem occurred configuring root project 'core'. solution: https://aamoos.tistory.com/722 A problem occurred configuring root project A problem occurred configuring root project Could not resolve all fil..
2024.02.07 -
Error: Swagger "No Operation"
background : 스프링으로 벡엔드 개발을 하면서 REST API 테스트를 하기 위해 spring doc을 활용해 swagger를 사용하려고 했다. http://localhost:8080/swagger-ui/index.html 접근 해서 swagger 페이지에 접속은 성공했지만, rest api가 뜨지 않고, 다음 에러 메세지가 떴다. Error No operations defined in spec! Solution 다음 코드를 application.properties 파일에 추가해주면 된다. springdoc.packages-to-scan= 사용자 패키지 지정 springdoc.paths-to-match=/** springdoc.default-consumes-media-type=applicatio..
2024.01.05 -
Error : No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.2.1 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally..
Background : Spring initializer에서 프로젝트를 생성해서 IntelliJ에서 열려고 했는데, 빌드 fail이 떴다. 알고보니 gradle java 버전이 새로 바꾼 21이 아니라 11로 설정되어 있었다. 아래 링크대로 설정에 들어가서 내가 다운받은 프로젝트 버전과 같은 버전으로 jdk를 설정해주면 된다. solution : https://jojoldu.tistory.com/698 Spring Boot 3.x 실행이 안될 경우 (feat. IntelliJ) 스프링 부트 3.0 이 출시되었다. (현재 최신은 3.0.1 이지만) 3.0 부터는 Java 17부터 지원된다. 그러다보니 기존에 Java8, 11등을 사용하시던 분들은 3.x 스프링 부트 프로젝트를 실행할때 에러들을 만나 joj..
2023.12.26 -
Error: Unable to boot simulator
Error: Uable to boot simulator Background : vsc에서 flutter project를 개발하던 중 iOS simulator를 실행하려고 했는데 위와같은 에러 창이 떳다. solution: 좌측 상단 애플 아이콘 > 이 Mac에 관하여 > 저장공간 > 관리 > 개발자 > xcode 프로젝트 빌드 파일 > xcode 캐시 - 삭제 *reference https://dev-nam.tistory.com/35 [flutter] Unable to boot simulator 해결 방법 맥에서 Unable to boot simulator 해결하는 방법 Mac OS에서 [Flutter: Launch Emulator] 명령어를 실행하면 가끔 아래와 같은 오류 안내 문구와 함께 시뮬레이터가..
2023.11.24