[spring/IntelliJ] error: Attempt to recreate a file for type ~

2025. 1. 2. 11:55·Server/spring

QueryDSL을 사용하려고 하니 다음과 같이 에러가 떳다.

 

 

 

해결방법 : 

File > Settings > Build, Execution, Deployment > Build Tools > Gradle으로 이동한다.

 

 

 

Build and run using과 Run tests using을 IntelliJ IDEA로 바꾼다.

 

다시 run 하면 잘 된다.

'Server > spring' 카테고리의 다른 글

[CICD] SpringBoot + Github Action + EC2 배포  (0) 2025.01.05
[spring] jakarta.servlet.ServletException: Handler dispatch failed: java.lang.NoSuchMethodError: 'void org.springframework.web.method.ControllerAdviceBean.<init>(java.lang.Object)' 에러 해결  (0) 2025.01.02
[spring] Cannot resolve method 'assertThat' in 'Assertions'  (0) 2024.11.29
[spring] DB 연동  (0) 2024.11.03
[spring] Dependency requires at least JVM runtime version 17. This build uses a Java 8 JVM  (0) 2024.10.15
'Server/spring' 카테고리의 다른 글
  • [CICD] SpringBoot + Github Action + EC2 배포
  • [spring] jakarta.servlet.ServletException: Handler dispatch failed: java.lang.NoSuchMethodError: 'void org.springframework.web.method.ControllerAdviceBean.<init>(java.lang.Object)' 에러 해결
  • [spring] Cannot resolve method 'assertThat' in 'Assertions'
  • [spring] DB 연동
월월
월월
  • 월월
    서벅돌의 성장일기
    월월
  • 전체
    오늘
    어제
    • 분류 전체보기 (121)
      • TIL (2)
      • Server (29)
        • spring (8)
        • node.js (16)
        • 기타 (5)
      • App&Web (17)
        • Web (1)
        • Android (16)
        • iOS (0)
      • 공부 (59)
        • 깃&깃허브 (3)
        • 파이썬 (17)
        • 유니티 (4)
        • 자료구조 | 알고리즘 (15)
        • 자바 (3)
        • 운영체제 (8)
        • AI와 데이터 (9)
      • 대외활동 (12)
        • NPC 동아리 (1)
        • UMC 동아리 (11)
      • 대학교 (1)
        • 교직 (1)
      • 기타 (0)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 글 관리
  • 링크

  • 공지사항

    • Notice
  • 인기 글

  • 태그

    kotlin
    Android
    파이썬
    mysql
    Lua
    Python
    java
    Unity
    C
    안드로이드
    유니티
    루아
    자바
    코틀린
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
월월
[spring/IntelliJ] error: Attempt to recreate a file for type ~
상단으로

티스토리툴바