13 years ago
java.lang.ClassCastException
I get a ClassCastException when I run SoapUI tests using maven-soapui-pro-plugin, I use soapUI Pro 4.5.0.
11:17:56,525 INFO [SoapUIProTestCaseRunner] Running soapUI tests in project [ExampleSharedService]
[ERROR] java.lang.ClassCastException: com.eviware.soapui.impl.wsdl.WsdlProject cannot be cast to com.eviware.soapui.impl.wsdl.WsdlProjectPro
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.0.0</version>
<dependencies>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqlserver-jdbc4</artifactId>
<version>3.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>C:/soapui-pro-4.5.0\workspaces/ExampleSharedService-soapui-project.xml</projectFile>
<outputFolder>${project.build.directory}/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<endpoint>http://localhost:${jboss.conf.port.http}/example-shared-service-ws/services/TerritoryWebService</endpoint>
<exportAll>true</exportAll>
<printReport>false</printReport>
<testFailIgnore>true</testFailIgnore>
<globalProperties>
<globalProperty>global.endpoint.url=http://localhost:${jboss.conf.port.http}/example-shared-service-ws/services/TerritoryWebService</globalProperty>
</globalProperties>
</configuration>
</execution>
</executions>
</plugin>
Please let me know how I can get this to work.
Thanks,
Sanjay
11:17:56,525 INFO [SoapUIProTestCaseRunner] Running soapUI tests in project [ExampleSharedService]
[ERROR] java.lang.ClassCastException: com.eviware.soapui.impl.wsdl.WsdlProject cannot be cast to com.eviware.soapui.impl.wsdl.WsdlProjectPro
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.0.0</version>
<dependencies>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqlserver-jdbc4</artifactId>
<version>3.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>C:/soapui-pro-4.5.0\workspaces/ExampleSharedService-soapui-project.xml</projectFile>
<outputFolder>${project.build.directory}/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<endpoint>http://localhost:${jboss.conf.port.http}/example-shared-service-ws/services/TerritoryWebService</endpoint>
<exportAll>true</exportAll>
<printReport>false</printReport>
<testFailIgnore>true</testFailIgnore>
<globalProperties>
<globalProperty>global.endpoint.url=http://localhost:${jboss.conf.port.http}/example-shared-service-ws/services/TerritoryWebService</globalProperty>
</globalProperties>
</configuration>
</execution>
</executions>
</plugin>
Please let me know how I can get this to work.
Thanks,
Sanjay