본문 바로가기
반응형

JAVA38

[ QueryDSL ] Parameter 0 of constructor in ArticleRepositoryCustomImpl required a bean of type 'java.lang.Class' that could not be found. 에러 해결 방법 💥 Application run 시 발생한 에러 메시지Description:Parameter 0 of constructor in com.example.demo.repository.querydsl.ArticleRepositoryCustomImpl required a bean of type 'java.lang.Class' that could not be found.Action:Consider defining a bean of type 'java.lang.Class' in your configuration. ❓에러 발생 이유Consider defining a bean of type 'java.lang.Class' in your configuration.라는 문구는 보통 Spring이 실행되면서 java 파일.. 2024. 4. 10.
[ QueryDSL ][ Spring ] attempt to recreate a file for type qclass 에러 해결 방법 💥 build 시 발생한 에러 메시지attempt to recreate a file for type qclass ❓에러 발생 이유QueryDSL의 QClass 파일의 중복 문제로 발생한 에러입니다. ✅ 해결 방법 ✔️ 해결 방법해당 프로젝트의 build 폴더를 삭제 후 다시 build 해주면 기존 QClass 파일이 삭제되며 build 시 새로 생기게 되며 QClass 파일의 중복 문제를 해결할 수 있습니다.build clean -> build 2024. 4. 10.
[ Spring ] java.lang.IllegalArgumentException: Name for argument of type 에러 해결 방법 💥 application run 시 발생한 에러 메시지java.lang.IllegalArgumentException: Name for argument of type [com.example.demo.domain.type.SearchType] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.   ❓에러 발생 이유build를 인텔리제이로 해서 발생한 에러이다. 인텔리제이에서 빌드할 때는 -parameters' 플래그가 기본적으로 사용되지 않을 수 있습니다. ✅ 해결 방법 ✔️ 해결 방법 build를 인텔리제이에서 gradle로.. 2024. 4. 10.
[ Spring ] Could not find build 에러 해결 방법 💥 build 시 발생한 에러 메시지demo:main: Could not find org.thymeleaf.extras:thymeleaf-extras-springsecurity5:.Required by:project :Possible solution:- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html  ❓에러 발생 이유해당 라이브러리의 버전을 명시해 주지 않아서 build가 실패하며 발생한 에러입니다. ✅ 해결 방법 ✔️ 해결 방법해당 라이브러리의 버전을 정확히 명시해 주면 정상적으로 build가 진행됩니다.. 2024. 4. 10.
반응형