[Spring] 클론 후 첫 실행시 gradle error

최성민·2021년 6월 17일
post-thumbnail

Gradle과 관련하여 2가지 에러가 뜸

  1. Could not find snakeyaml-1.27-android.jar

  2. Errors occurred while build effective model from /home/gayanw/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-osgi/2.2.10/c926a537af564ec047ec6308df1d0d2a03364a86/jaxb-osgi-2.2.10.pom:
    'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${tools.jar} in com.sun.xml.bind:jaxb-osgi:2.2.10

build.gradle 파일에서 아래와 같이 추가하니까 해결됨

profile
공부합시다

0개의 댓글