gpt4 book ai didi

grails - Grails权限被拒绝错误

转载 作者:行者123 更新时间:2023-12-02 14:53:34 25 4
gpt4 key购买 nike

我正在尝试运行Grails应用程序,我从SVN存储库中 checkout 了该应用程序,并且收到以下错误!

Server access Error: Permission denied: connect url=http://grails.org/plugins/grails-mysql-connector-java/tags/RELEASE_5_1_20/mysql-connector-java-5.1.20.pom

Server access Error: Permission denied: connect url=http://grails.org/plugins/grails-mysql-connector-java/tags/RELEASE_5_1_20/grails-mysql-connector-java-5.1.20.jar

Server access Error: Permission denied: connect url=http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.20/mysql-connector-java-5.1.20.pom

Server access Error: Permission denied: connect url=http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.20/mysql-connector-java-5.1.20.jar

Server access Error: Permission denied: connect url=http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_1_2_7_3/spring-security-core-1.2.7.3.pom

Server access Error: Permission denied: connect url=http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_1_2_7_3/grails-spring-security-core-1.2.7.3.jar

Server access Error: Permission denied: connect url=http://repo1.maven.org/maven2/org/grails/plugins/spring-security-core/1.2.7.3/spring-security-core-1.2.7.3.pom

Server access Error: Permission denied: connect url=http://repo1.maven.org/maven2/org/grails/plugins/spring-security-core/1.2.7.3/spring-security-core-1.2.7.3.jar

| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- mysql:mysql-connector-java:5.1.20
- org.grails.plugins:spring-security-core:1.2.7.3

当我尝试导航到链接时,它给我404错误。我该如何解决?

最佳答案

Grails试图通过自动下载来解决应用程序的依赖关系,但是由于某种原因无法访问这些站点。您将需要使这些依赖项可访问(最简单的方法是手动安装它们)。请参阅this answer以了解如何处理。答案只是处理Spring Security Core依赖项,但是该解决方案将适用于您的所有依赖项。

关于grails - Grails权限被拒绝错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16168089/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com