Forum Discussion

Tuomas's avatar
Tuomas
New Contributor
15 years ago

2.5.1/2 PRO : Groovy Listeners dosen't work?

I have problems with my LoadTestListener croovy script. I get java.lang.ClassNotFoundException and then I tried also demolistener and same thing :
2009-05-29 14:51:46,683 ERROR [errorlog] java.lang.ClassNotFoundException: soapui.demo.DemoListener
java.lang.ClassNotFoundException: soapui.demo.DemoListener

Is there bug in 2.5 versions? 2.0.2 pro version works fine.

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    there was a change when moving to 2.5.X that requires your groovy classes to be in folders named after the package.. ie putting a groovy class with a

    package some.class.MyClass

    would have to be in a

    some/class/MyClass.groovy

    file

    Could it be that your class is not saved like this?

    regards!

    /Ole
    eviware.com