Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle 빌드에러 #2

Open
Early-Birdd opened this issue Sep 10, 2021 · 1 comment
Open

gradle 빌드에러 #2

Early-Birdd opened this issue Sep 10, 2021 · 1 comment

Comments

@Early-Birdd
Copy link

Gradle could not start your build.

Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache().
Failed to create parent directory 'C:\Users\mvc.gradle' when creating directory 'C:\Users\mvc.gradle\6.9.1\fileHashes'

  • Try:
    Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:
    org.gradle.initialization.exception.InitializationException: Gradle could not start your build
    Caused by: org.gradle.internal.service.ServiceCreationException: Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache()
    Caused by: org.gradle.api.UncheckedIOException: Failed to create parent directory 'C:\Users\mvc.gradle' when creating directory 'C:\Users\mvc.gradle\6.9.1\fileHashes'

gradle빌드에러가 자꾸나서 spring 강의 시작을 못하고 있습니다.ㅠㅠ
자바11 이고 spring initializr 버전도 낮춰보고 했는데도 안되네요 해결방법 알려주시면 감사드리겠습니다

@egovframedev
Copy link

Ch9. Swagger에서 build.gradle 에 implementation group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0'
넣고 그레이들을 다시 리로드하고 나서 스프링부트를 실행하면 다음과 같은 에러가 표시됩니다.

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

전혀 진도가 나가지 않고 있습니다. 결국 구글에서 검색하여 알아낸 봐..

application.proerties 파일에 spring.mvc.pathmatch.matching-strategy=ant_path_matcher 설정을 추가해야 정상 작동합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants