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></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 get the No valid ReadyAPI Test license exists
error when trying to run a test in Maven, you need to do the following:
Specify the absolute path to the license file (
.zip
or.key
), for example:C:\keys\license.zip
If the license is not activated, you will be asked if you want to activate it.
To activate the license, type
y
and press Enter. The activation process will begin.
Note
If you are using SmartBear ID-based licensing, please refer to Maven configuration for SmartBear ID Based Licensing