gpt4 book ai didi

Groovy 葡萄在下载工件后卡住

转载 作者:行者123 更新时间:2023-12-03 19:01:58 26 4
gpt4 key购买 nike

更新我的 ubuntu 系统后,我无法运行 groovy 葡萄脚本。所有依赖项都已下载,但进程仍在以大约 100% 的速度运行

我有 ubuntu :

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal

常规版本:

Groovy Version: 1.8.6 JVM: 1.7.0_25 Vendor: Oracle Corporation OS: Linux

我的简单脚本如下:

@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.6')
@GrabExclude('asm:*')

import groovyx.net.http.*
import groovy.util.CliBuilder
import groovy.xml.XmlUtil

import java.util.regex.Matcher;
import java.util.regex.Pattern;


class MyGroovyScript {

static main(args) {
println "?????"
}

}

输出为:

groovy -Dgroovy.grape.report.downloads=true my-groovy-script.groovy
Resolving dependency: org.codehaus.groovy.modules.http-builder#http-builder;0.6 {default=[default]}
Preparing to download artifact org.codehaus.groovy.modules.http-builder#http-builder;0.6!http-builder.jar
Preparing to download artifact org.apache.httpcomponents#httpclient;4.2.1!httpclient.jar
Preparing to download artifact net.sf.json-lib#json-lib;2.3!json-lib.jar
Preparing to download artifact org.codehaus.groovy#groovy;1.8.8!groovy.jar
Preparing to download artifact net.sourceforge.nekohtml#nekohtml;1.9.16!nekohtml.jar
Preparing to download artifact xml-resolver#xml-resolver;1.2!xml-resolver.jar
Preparing to download artifact org.apache.httpcomponents#httpcore;4.2.1!httpcore.jar
Preparing to download artifact commons-logging#commons-logging;1.1.1!commons-logging.jar
Preparing to download artifact commons-codec#commons-codec;1.6!commons-codec.jar
Preparing to download artifact commons-beanutils#commons-beanutils;1.8.0!commons-beanutils.jar
Preparing to download artifact commons-collections#commons-collections;3.2.1!commons-collections.jar
Preparing to download artifact commons-lang#commons-lang;2.4!commons-lang.jar
Preparing to download artifact net.sf.ezmorph#ezmorph;1.0.6!ezmorph.jar
Preparing to download artifact antlr#antlr;2.7.7!antlr.jar
Preparing to download artifact xerces#xercesImpl;2.9.1!xercesImpl.jar
Preparing to download artifact xml-apis#xml-apis;1.3.04!xml-apis.jar
Downloaded 9854 Kbytes in 134ms:
[SUCCESSFUL ] org.codehaus.groovy.modules.http-builder#http-builder;0.6!http-builder.jar (5ms)
[SUCCESSFUL ] org.apache.httpcomponents#httpclient;4.2.1!httpclient.jar (7ms)
[SUCCESSFUL ] org.apache.httpcomponents#httpcore;4.2.1!httpcore.jar (2ms)
[SUCCESSFUL ] commons-logging#commons-logging;1.1.1!commons-logging.jar (1ms)
[SUCCESSFUL ] commons-codec#commons-codec;1.6!commons-codec.jar (2ms)
[SUCCESSFUL ] net.sf.json-lib#json-lib;2.3!json-lib.jar (2ms)
[SUCCESSFUL ] commons-beanutils#commons-beanutils;1.8.0!commons-beanutils.jar (3ms)
[SUCCESSFUL ] commons-collections#commons-collections;3.2.1!commons-collections.jar (5ms)
[SUCCESSFUL ] commons-lang#commons-lang;2.4!commons-lang.jar (2ms)
[SUCCESSFUL ] net.sf.ezmorph#ezmorph;1.0.6!ezmorph.jar (24ms)
[SUCCESSFUL ] org.codehaus.groovy#groovy;1.8.8!groovy.jar (34ms)
[SUCCESSFUL ] antlr#antlr;2.7.7!antlr.jar (5ms)
[SUCCESSFUL ] net.sourceforge.nekohtml#nekohtml;1.9.16!nekohtml.jar (2ms)
[SUCCESSFUL ] xerces#xercesImpl;2.9.1!xercesImpl.jar (14ms)
[SUCCESSFUL ] xml-apis#xml-apis;1.3.04!xml-apis.jar (3ms)
[SUCCESSFUL ] xml-resolver#xml-resolver;1.2!xml-resolver.jar (2ms)

最佳答案

因为还没有发布答案.. 发生这种情况是因为 OpenJDK7u25 并且它再次与 u40 一起工作

关于Groovy 葡萄在下载工件后卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18464454/

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