AutoDiscoveryMethodFactory ClassNotFoundException when executing mockservicerunner - Solution












This error might be encountered while you trying to use soap jar files in eclipse or in any other IDE. The solution is that this error is being occurred due to some jar plugins located in .soapuios directory which should not be called while the program executes. To solve we must rename this folder from plugin to something else so that they are not being called.

The location of this path may differ so to get the exact location, you must see an error message as it is presented in that message. No, matter in which drive you have installed soapUI you can always try searching for this folder which has path C:/Users//<USERNAME>//.soapuios//plugins. If it does not show up that go to folder options and make sure hidden files and folders are visible then it will be shown. After its shown just rename the folder (make sure closing soapUI and eclipse if open) and try again. It will work.


Reference:
Previous Post Next Post