Forum Discussion

Kgill's avatar
Kgill
New Contributor
4 years ago

Getting error | Failed to execute goal com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1:test

Hi all,

 

I am getting an error

[ERROR] Failed to execute goal com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1:test (default) on project soapui-maven2-plugin: Execution default of goal com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1:test failed: A required class was missing while executing com.smartbear.soapui:soapui-pro-maven-plugin:4.6.1:test: groovy/lang/GroovyClassLoader

 

SOAP UI version : 5.5:

My POM File is 

 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.smartbear.samples</groupId>
<artifactId>soapui-maven2-plugin</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 SoapUI Sample</name>
<url>http://maven.apache.org</url>
<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>4.6.1</version>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${basedir}/Project-1-soapui-project.xml</projectFile>
<testSuite> Prod</testSuite>
<projectProperties>
<value>message=Hello World!</value>
</projectProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>