gothinkster/spring-boot-realworld-example-app

Could not find snakeyaml-1.27-android.jar (org.yaml:snakeyaml:1.27)

vmihailenco opened this issue · 3 comments

./gradlew bootJar

* What went wrong:
Execution failed for task ':bootJarMainClassName'.
> Could not find snakeyaml-1.27-android.jar (org.yaml:snakeyaml:1.27).
  Searched in the following locations:
      file:/home/vmihailenco/.m2/repository/org/yaml/snakeyaml/1.27/snakeyaml-1.27-android.jar

Adding the v1.28 as a dependency to build.gradle fixes the problem for me

implementation 'org.yaml:snakeyaml:1.28'

Googling says that this is caused by incorrect classifier (android) in 1.27 version...

I don't have this issue and this app also successfully deployed in heroku. Just try to reinstall your dependencies.

I have also same problem and importing snakeyaml dependency is not working.
After I removed manually repository directory (xxx/.m2/repository/org/yaml/snakeyaml) it works.

same situation, thanks, it works for me: rm -rf /Users/xxxxxxxxx/.m2/repository/org/yaml/snakeyaml/1.23