Не удалось перенести артефакт org.grails.plugins: tomcat: zip: 7.0.55.2 из / в grailsCentral (https://repo.grails.org/grails/plugins) - PullRequest
1 голос
/ 18 января 2020

Я скачал свой проект с git, и когда я компилирую, моя ошибка:

Resolve error obtaining dependencies: 
Could not transfer artifact org.grails.plugins:tomcat:zip:7.0.55.2 from/to 
grailsCentral (https://repo.grails.org/grails/plugins)
Received fatal alert: protocol_version (Use --stacktrace to see the full trace)

Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.javassist:javassist:jar:3.17.1-GA, com.bertramlabs.plugins:asset-pipeline-core:jar:2.1.1, org.springframework.security:spring-security-core:jar:3.2.3.RELEASE, org.springframework.security:spring-security-web:jar:3.2.3.RELEASE, org.springframework.security:spring-security-ldap:jar:3.2.0.RC1, org.quartz-scheduler:quartz:jar:2.2.1: Could not transfer artifact org.javassist:javassist:jar:3.17.1-GA from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
    ... 6 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.javassist:javassist:jar:3.17.1-GA from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version
    at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version

Я использую Grails 2.5.0 и JDK7, mu buildconfig:

repositories {
    inherits true // Whether to inherit repository definitions from plugins

    grailsPlugins()
    grailsHome()
    mavenLocal()
    grailsCentral()
    mavenCentral()

    mavenRepo "http://repo.spring.io/milestone/"
    mavenRepo "https://repo.grails.org/grails/plugins"
}

plugins {
    // plugins for the build system only
    build ":tomcat:7.0.55.2" // or ":tomcat:8.0.20"

    // plugins for the compile step
    compile ":scaffolding:2.1.2"
    compile ':cache:1.1.8'
    compile ":asset-pipeline:2.1.5"

    runtime ":hibernate4:4.3.8.1"
    runtime ":database-migration:1.4.0"
    runtime ":jquery:1.11.1"

    compile ":spring-security-core:2.0-RC4"
    compile ":spring-security-ldap:2.0-RC2"

    compile 'org.grails.plugins:quartz:1.0.2'
}

Я думаю, что хранилище не работает, но я попытался добавить эту строку, но я получаю ту же проблему:

mavenRepo "https://repo.grails.org/grails/core"
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...