Forum Discussion
I upgraded to 5.2.1 and still got the same ClassNotFoundException.
Some googling makes me believe that the class is from the Pro release?
https://www.soapui.org/apidocs/pro/index.html?com/eviware/soapui/plugins/auto/factories/AutoDiscoveryMethodFactory.html
Annoying, but not cripling, I too observe that the script does run with all the error messages.
- jrahman10 years agoContributor
If the SoapUI version is 5.2.1 (I use this and found the same problem), the problem ties to the default plugins installed under "C:\Users\<user name>.soapuios\plugin".
For SoapUI 5.2.1, there are 4 default plugins installed under this directory:
- readyapi-swaggerhub-plugin-1.0.jar
- ready-mqtt-plugin-dist.jar
- ready-uxm-plugin-1.0.1-dist.jar
- soapui-swagger-plugin-2.2-dist.jar
Just rename the original folder 'plugins' to 'plugins_NOTinUse' (or something else), so that default plugins could be forced hidden during runtime. The problem then disappeared.
/jamil
- icenamor7 years agoOccasional Contributor
I had several errors like that:
log4j:ERROR setFile(null,true) call failed.ERROR [SoapUI] An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
ERROR [SoapUI] An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for detailsI did the solution for jrahman and it works now!
- ashishpatel8 years agoRegular Visitor
HI , As per above replay , I have checked file under plugin folder. No such jar found for deletion.
Please suggest other approach for resolving AutoDiscoveryMethodFactory ClassNotFoundException issue.
- rupert_anderson8 years agoValued Contributor
Hi,
Along with the exception there is normally a path like:
11:43:32,432 INFO [PluginManager] Adding plugin from [C:\Users\jenkins\.soapuios\plugins\ready-mqtt-plugin-dist.jar] 11:43:34,773 ERROR [SoapUI] An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details java.lang.ClassNotFoundException: com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory
I take it you've checked this / these locations?
As you're probably aware, whilst this exception is irritating, it isn't actually serious in terms of lost functionality. If you get a chance, please vote/kudo for the feature request to get these errors handled properly - https://community.smartbear.com/t5/SoapUI-Feature-Requests/Resolving-quot-An-error-occurred-com-eviware-soapui-plugins-auto/idi-p/135281
Thanks,
Rupert
Related Content
- 14 years ago
Recent Discussions
- 15 years ago