BuildConfig.groovy
зависимости
dependencies {
runtime('org.slf4j:slf4j-api:1.7.25')
runtime('org.jetbrains:annotations-java5:15.0')
runtime('com.google.guava:guava:16.0.1')
runtime('com.github.java-json-tools:json-schema-validator:2.2.10')
// For references: Jackson, httpcomponents already in lib/
}
Попытка "grails run-app":
| Error Resolve error obtaining dependencies: The following artifacts could not be resolved: org.slf4j:slf4j-api:jar:1.7.25, org.jetbrains:annotations-java5:jar:15.0, com.google.guava:guava:jar:16.0.1, com.github.java-json-tools:json-schema-validator:jar:2.2.10: Could not transfer artifact org.slf4j:slf4j-api:jar:1.7.25 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: The following artifacts could not be resolved: org.slf4j:slf4j-api:jar:1.7.25, org.jetbrains:annotations-java5:jar:15.0, com.google.guava:guava:jar:16.0.1, com.github.java-json-tools:json-schema-validator:jar:2.2.10: Could not transfer artifact org.slf4j:slf4j-api:jar:1.7.25 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version (Use --stacktrace to see the full trace)
| Error The following artifacts could not be resolved: org.slf4j:slf4j-api:jar:1.7.25, org.jetbrains:annotations-java5:jar:15.0, com.google.guava:guava:jar:16.0.1, com.github.java-json-tools:json-schema-validator:jar:2.2.10: Could not transfer artifact org.slf4j:slf4j-api:jar:1.7.25 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version
| Run 'grails dependency-report' for further information.
Я использую Grails 2.5.6 и Java 8