是否有groovyws.jar与他所有的依赖? [英] Is there a groovyws.jar with all his dependences?
问题描述
但是我的groovyws.jar(0.5.2)有很多的依赖关系,所以我会用它来解决这个问题。我使用Grails并且希望使用Groovyws来调用Web服务。无法解决。
是否有包含所有依赖项的jar?
注意:我试过放入 BuildConfig.groovy
,
依赖关系{
'org .codehaus.groovy.modules:groovyws:0.5.2'
}
m得到错误:
$ b
执行脚本时出错编译:加载器约束违规:何时
解析重写的方法
org。 apache.xerces.jaxp.SAXParserImpl.getParser()Lorg / XML /萨克斯/分析器;
当前类的org / apache / xerces / jaxp / SAXParserImpl的类加载器(
org / codehaus / groovy / grails / cli / support / GrailsRootLoader的实例)及其
超类加载器(实例),对签名中使用的类型org / xml / sax / Parser具有不同的Class
对象
- http://docs.codehaus.org/dosearchsite.action?queryString=groovyws+standalone
(搜索groovyws standalone)
注意:我在这里看到这个提示。
I'm using Grails and want to use groovyws to call an web-service.
But my groovyws.jar (0.5.2) have MANY dependences that I can't solve.
Is there any jar with all dependences included?
Note: I tried put in BuildConfig.groovy
, this
dependencies {
'org.codehaus.groovy.modules:groovyws:0.5.2'
}
but I'm getting error:
Error executing script Compile: loader constraint violation: when resolving overridden method "org.apache.xerces.jaxp.SAXParserImpl.getParser()Lorg/xml/sax/Parser;" the class loader (instance of org/codehaus/groovy/grails/cli/support/GrailsRootLoader) of the current class, org/apache/xerces/jaxp/SAXParserImpl, and its superclass loader (instance of ), have different Class objects for the type org/xml/sax/Parser used in the signature
I found:
Tks a lot!
(search for "groovyws standalone")
Note: I saw this tip here.
这篇关于是否有groovyws.jar与他所有的依赖?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!