簡體   English   中英

如何設置 grails 代理有錯誤 & grails 安裝

[英]How to set grails proxy have error & grails install

我想知道錯誤 grails 你能幫我嗎

 |Loading Grails 2.4.0 |Configuring classpath Error | Resolve error obtaining dependencies: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1 (Use --stacktrace to see the full trace) Error | Required Grails build dependencies were not found. This is normally due to internet connectivity issues (such as a misconfigured proxy) or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your configuration to continue. Process finished with exit code 1

在 Grails 2 中,代理被配置和設置在一個文件中(我相信)在你的 ~/.grails 目錄中。 There are command-line arguments for setting that documented in the grails documentation here: https://grails.github.io/grails2-doc/2.4.2/ref/Command%20Line/add-proxy.html

一般來說,你會做類似的事情

grails add-proxy client --host=proxy-server --port=4300 --username=guest --password=guest

然后像這樣激活它

grails set-proxy client

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM