Forum Discussion

redfish4ktc2's avatar
redfish4ktc2
Super Contributor
11 years ago

pro maven plugin 5.1.0/5.1.1 missing reflections dependency

Hi,
the 5.1.0 and 5.1.1 versions can not be used out of the box. We always get the following
Caused by: java.lang.NoClassDefFoundError: org/reflections/Configuration


This is currently not fixed in the 5.1.1-m-SNAPSHOT version
The release notes file should also be modified to state this library is pro only (cf https://github.com/SmartBear/soapui/blo ... ES.txt#L64)


current workaround is to add the reflections dependency directly when using the plugin
<plugin>  
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>5.1.1</version>
<configuration>
</configuration>
<dependencies>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.9-RC1</version>
</dependency>
</dependencies>
</plugin>

3 Replies

  • Hi,

    Thank you for reporting this issue. And thanks for the workaround, as our developers work on the fix.

    Regards,

    Giscard
    SmartBear Support
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi, thanks for the feedback

    Using the reflections workaround as a side effects on the version of the guava dependency.
    User should also use the following additionnally to the reflections dependency

         <!-- use the same version as in SoapUI -->
    <dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>14.0</version>
    </dependency>
  • Hi redfish4ktc,

    Thanks for raising this issue and for posting a workaround. We haven't been able to figure out the root cause of this yet. For the time being, I'll add your workaround as a disclaimer on the soapui.org website, until we manage to resolve this.

    Regards,
    Arian
    SmartBear Sweden