Gradle

    [Spring Boot] No tests found for given includes: 에러

    [Spring Boot] No tests found for given includes: 에러

    Spring Boot로 테스트 작성 후 IntelliJ내의 테스트 실행버튼을 눌러 테스트를 시도했다. 그런데... Execution failed for task ':test'. > No tests found for given includes: [test코드 경로](filter.includeTestsMatching) * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. 이렇게 떴다..!! 분명 @Test가 붙은 테스트들이 존재하는데...왜 없다고 하는 것인가? 인프런에 나와..

    [Spring Boot][Gradle] 실행 시 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 에러

    [Spring Boot][Gradle] 실행 시 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 에러

    문제 Spring Initializr을 이용하여 프로젝트 생성 후, 추가설정 없이 바로 실행했더니 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-09-06 16:31:50.532 ERROR 20275 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' att..

    [Android] OkHttpClient .build 에러 - java.lang.exceptionininitializererror

    Retrofit 이용하여 처음으로 API 엮는 부분을 구현하는데, OkHttpClient를 build하는 부분에서 바로 앱이 강제종료 되어버리고, java.lang.exceptionininitializererror 라는 에러문구만 띄워줬다. 코드상에 문제는 없어보였는데 검색하여 okHttp 깃허브 문서를 보니 버전 얘기가 있길래 혹시나 해서 gradle에서 Retrofit, OkHttp 관련 버전들을 모두 업그레이드 해줬는데 (alt + enter 또는 option + enter 해서 나오는 버전 클릭) 바로 해결되었다....^^ 엄청 헤맬뻔 했는데 생각보다 금방 해결해서 다행이다 이제 잘 수 있다!

    [IntelliJ]Spring boot  Gradle 실행 오류

    [IntelliJ]Spring boot Gradle 실행 오류

    Spring Boot 테스트 실행 후, API 하나 작성 후 실행해보았는데 오류가 났다... 다시 찾아봐도 코드에 잘못된 곳은 없었다! 에러메세지 Execution failed for task ':DemoApplication.main()'. Process 'command '~jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 해결방법 아주아주 간단! Mac : IntelliJ IDEA - Preferences - Build, Execution, Deployment - Build Tools - Gradle Window : File - Setting - Build, Execution, Deployment - Build Tools - Gradle..