상황
프로젝트 파일 실행시 grable이 전혀 빌드가 되지 않고
java.io.StreamCorruptedException: invalid type code: 00
> invalid type code: 00
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
다음 문구가 터미널에 출력 되는 상황
원인

주로 gradle의 버전이 맞지 않아서 발생한다고 한다.
해결법
settings -> Preferences -> Build, Execution, Deployment -> Build Tools -> Gradle
경로에서 설정된 Gradle의 JVM이 Spring 프로젝트를 만들었을 때 설정한 jdk와 동일하게 맞추어 주면 된다.

'Development > Spring' 카테고리의 다른 글
| (Spring, Docker) 스프링 프로젝트 docker 이미지 업로드 (0) | 2023.08.12 |
|---|---|
| 스프링 프로젝트 명명규칙 (0) | 2023.08.05 |
| multipart.MaxUploadSizeExceededException 해결 (0) | 2023.07.30 |
| (Spring) AWS EC2 배포시 중단 되지 않게 실행하는 명령어 (0) | 2023.07.30 |
| Tomcat, Jetty, Undertow (0) | 2023.07.16 |