Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.5.7
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows 2000, JVM JVM: 1.5.0_16
-
Number of attachments :
Description
I get the a package prohibited error when executing the following script:
import groovyx.net.ws.WSClient println 'Creating proxy for service' def testProxy = new WSClient("http://localhost:9080/ws/services/WSDHZSProductService?wsdl", this.class.classLoader) def aesClient = testProxy.create() //aesClient.retrieveCP() //aesClient.metaClass.methods.each { //println it //} println 'done'
( I don't know how to access the local file (shame shame), so I'll hope this will be sufficient to reproduce)
if you get a messages complaining that something with java.lang got loaded by the wrong loader, then you should ensure your groovy classpath does not contain any such jars. If it is not java.lang, then it would help to actually see the exception. Also if it is java.lang, I need to know which classloader is causing this and for this I would require a full stack trace