Forum Discussion

jeanflorentine's avatar
jeanflorentine
New Contributor
14 years ago

SoapUI fails, NoClassDefFoundError with Listener

Hi,
I experience hard time trying to set up a listener (SoapUI extension)
If somebody know something about this i would be glad to share experience.
Actually i had installed the testcase listener demo from the web site and
it was working with the SoapUI Pro 4.5 Trial, then i started to adapt it to my needs.

Then as the SoapUI Pro Trial expired, i have installed SoapUI 4.5 Free version, then
migrate my Listener to this new install, then SoapUI 4.5 Free version cannot even
start with the listener, altough i came back to the demo listener, i get the error below,
is the listener limited to the Pro version ?
I don't think so i know somebody with is using it as well with the free version.

Jean

java.lang.NoClassDefFoundError: com/eviware/soapui/model/support/TestRunListenerAdapter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.eviware.soapui.support.listener.SoapUIListenerRegistry.addConfig(SoapUIListenerRegistry.java:98)
at com.eviware.soapui.DefaultSoapUICore.addExternalListeners(DefaultSoapUICore.java:666)
at com.eviware.soapui.DefaultSoapUICore.initExtensions(DefaultSoapUICore.java:204)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:148)
at com.eviware.soapui.StandaloneSoapUICore.<init>(StandaloneSoapUICore.java:38)
at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:645)
at com.eviware.soapui.SoapUI.main(SoapUI.java:744)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.eviware.soapui.model.support.TestRunListenerAdapter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 29 more

2 Replies

  • Incredible: I have installed the very same demo listener on both SoapUI Pro 4.5.0 and SoapUI 4.5.0 free edition
    it work on the first but not on the 2nd, this is not documented that listeners can only work with PRO edition !?
  • Very confusing, by adapting public class DemoListener extends TestRunListenerAdapter
    the same problem arise with SoapUI 4.5 Pro, when i roll back the change to the orginal
    DemoListener that was working the previous time, the error persists, it looks like the all SoapUI installation
    is garbaged ! Any idea ?