Troubleshooting

Missing reflections

If you are getting the NoClassDefFoundError: org/reflections/Configuration or org/apache/poi/ss/usermodel/Workbook error when running the plugin, add the reflections dependency explicitly:

<plugin>
    <groupId>com.smartbear</groupId>
    <artifactId>ready-api-maven-plugin</artifactId>
    <version>3.61.0</version>
    <configuration/>
    <dependencies>
        <dependency>
            <groupId>org.reflections</groupId>
            <artifactId>reflections</artifactId>
            <version>0.9.9-RC1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>3.10-FINAL</version>
        </dependency>
    </dependencies>
</plugin>

No valid license exists

If you encounter the No valid ReadyAPI Test license exists error when running a test in Maven, check for these common causes:

  • License availability: Ensure that you have a SmartBear ID-based license assigned and available. For details, see Maven configuration for SmartBear ID-Based Licensing.

  • Plugin version mismatch: Verify that the ready-api-maven-plugin version matches your ReadyAPI product version.

  • Missing sample project files: Confirm that the Sample-SOAP-project.xml file is in the same folder as your pom.xml.

  • Dependencies: Add any missing dependencies (for example, reflections or poi-ooxml) if you encounter a NoClassDefFoundError.

See Also

Publication date: