Forum Discussion

hhhanxf's avatar
hhhanxf
New Contributor
17 years ago

Another eclipse error: java.lang.NoSuchMethodError

Environment:
OS: Ubuntu 8.10
Eclipse: 3.4.1
SoapUI: 2.5.1
JDK: 1.6.0_12

When I change to soapUI perspective, soapui navigator window and log window get following error:
java.lang.NoSuchMethodError: com.eviware.soapui.SwingSoapUICore: method (Ljava/lang/String;)V not found
at com.eviware.soapui.eclipse.SoapUIActivator$1.(SoapUIActivator.java:108)
at com.eviware.soapui.eclipse.SoapUIActivator.initSoapUI(SoapUIActivator.java:108)
at com.eviware.soapui.eclipse.SoapUIActivator.getWorkspace(SoapUIActivator.java:209)
at com.eviware.soapui.eclipse.views.NavigatorView.buildUI(NavigatorView.java:103)
at com.eviware.soapui.eclipse.views.NavigatorView.createPartControl(NavigatorView.java:56)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
  • hhhanxf's avatar
    hhhanxf
    New Contributor
    eclipse start parameters:
    eclipse -vm /opt/jdk/jre/bin/java -vmargs -Xms1024m -XX:PermSize=512m -XX:MaxPermSize=512m &

    classpath: .:/opt/jdk/lib/dt.jar:/opt/jdk/lib/htmlconverter.jar:/opt/jdk/lib/jconsole.jar:/opt/jdk/lib/sa-jdi.jar:/opt/jdk/lib/tools.jar
  • Lars's avatar
    Lars
    Contributor
    Hi again,

    The error is caused by 2 incompatible jar files in the plug-in. I don't even know how that happened, but I downloaded and installed the Eclipse plug-in now, and I don't get this error. (I got other errors though, see http://www.eviware.com/component/option ... pic,1363.0 if you get class not found errors.)

    So I think your problems should be solved if you clean up the Eclipse installation. Either start eclipse -clean, or in worst case, remove all  the /plugins/com.eviware.* and /features/com.eviware.* directories, and install the eclipse plug-in from scratch.

    Regards,
    Lars, eviware.com