Forum Discussion
Can you invoke the same groovy outside of the soapUI and able to launch browser?
By the way, look for error on the internet.
com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
- DonaldCREMI3 years agoNew Contributor
Yes, the same code outside of SoapUI launched the browser.
I have searched the error on the internet and the only responses to the query are stackoverflow responses. The best is:
"The versions of the libraries you are using do not fit together. Basically you should check the release information for the version of selenium you are using. That should contain information about which version of guava you need to use!"I've tried this solution, but it does not fix the problem.
- DonaldCREMI3 years agoNew Contributor
Thanks,
The problem turned out to be the guava.jar version. By upgrading the release version (guava-14.0) to the latest version (guava-31.0.1-jre), I was able to start Selenium from within the open-source SoapUI application. SoapUI-5.7.0 still ships with the guava-14.0 jar. I attempted to make a contribution to upgrade guava to the latest version, but was unable to find the contribution agreement (the link on the SoapUI site is broken).
Related Content
- 7 months agoDexterK
- 7 months agosohailalam2696
Recent Discussions
- 3 days agoemoya
- 3 days agoMyBalanceNow