MatthiasBuck
12 years agoOccasional Contributor
[Resolved] Groovy Script - Unable to resolve class
[hr:2xjk0mbc][/hr:2xjk0mbc]
I'm having trouble using soapUi classes in a Groovy script. It shows "unable to resolve class" when executing.
Here is the error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script8.groovy: 1: unable to resolve class
Here is what I'm trying to do:
I’m trying to put together a groovy script to execute before tests which is supposed to clear all messages from a queue which is available in hermes.
I found a sample online (http://josies.blogspot.com/2012/03/delete-messages-from-queues-in-groovy.html) but soapUi can’t resolve the imports in my script.
import com.eviware.soapui.impl.wsdl.submit.transport.jms.JMSConnectionBuilder
import com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSEndpoint
import com.eviware.soapui.impl.wsdl.submit.transports.jms.util.HermesUtils
import hermes.Hermes
import javax.jms.*
Thanks for your help.
I'm having trouble using soapUi classes in a Groovy script. It shows "unable to resolve class" when executing.
Here is the error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script8.groovy: 1: unable to resolve class
Here is what I'm trying to do:
I’m trying to put together a groovy script to execute before tests which is supposed to clear all messages from a queue which is available in hermes.
I found a sample online (http://josies.blogspot.com/2012/03/delete-messages-from-queues-in-groovy.html) but soapUi can’t resolve the imports in my script.
import com.eviware.soapui.impl.wsdl.submit.transport.jms.JMSConnectionBuilder
import com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSEndpoint
import com.eviware.soapui.impl.wsdl.submit.transports.jms.util.HermesUtils
import hermes.Hermes
import javax.jms.*
Thanks for your help.