Hi,
I'm running a problem with what experience tells me is a ClassLoader issue. I'm
trying to use the HTTP Builder Groovy Module, but whenever I need to parse XML
responses, I get the following exception: java.lang.NoClassDefFoundError:
org/apache/xerces/parsers/AbstractSAXParser.
I've been able to create a very simple build.gradle file to reproduce the
problem. Just running 'gradle -t' (using Gradle 0.9) results in the failure.
Running with '-i' definitely shows the xerces jar in the dependency resolution.
Any help would be greatly appreciated.
Thanks,
Val
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'org.codehaus.groovy.modules.http-builder', name:
'http-builder', version: '0.5.1'
}
}
p = new org.cyberneko.html.parsers.SAXParser();