klitchev
14 years agoOccasional Contributor
SoapUI Maven artifact with missing dependencies
Hi,
I am using SoapUI Maven dependency to use SoapUITestCaseRunner into Java tests:
The problem is that this dependency definition will only make Maven download soapui-4.0.1.jar and no other dependencies. Thus, when attempting to create new SoapUITestCaseRunner(), then the following exception occurs:
I am using SoapUI Maven dependency to use SoapUITestCaseRunner into Java tests:
<dependency>
<groupId>eviware</groupId>
<artifactId>soapui</artifactId>
<version>4.0.1</version>
</dependency>
The problem is that this dependency definition will only make Maven download soapui-4.0.1.jar and no other dependencies. Thus, when attempting to create new SoapUITestCaseRunner(), then the following exception occurs:
java.lang.ClassNotFoundException: org.apache.commons.cli.CommandLineParser
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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more