We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi Support,
With the Example Project zip file for BDD at https://support.smartbear.com/articles/testcomplete/bdd-cucumber-and-testcomplete/#_ga=1.253675913.1824708298.1460528871 i have been getting this error.
Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/util/FixJava
"C:\Program Files\Java\jdk1.8.0_91\bin\java" -Dorg.jetbrains.run.directory=D:\SquishWorkspace\TestComplete\BDD\Cucumber-Sample-Project -Didea.launcher.port=7532 "-Didea.launcher.bin.path=D:\ProgApps\IntelliJ IDEA\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Testing started at 11:19 AM ...
at cucumber.runtime.RuntimeOptions.<clinit>(RuntimeOptions.java:29)
The http://stackoverflow.com/questions/25204322/eclipse-cucumber-selenium-getting-java-lang-classnotfoundexception-gherkin error is supposed to be a mismatch of the Jar files for Cucumber. Has anyone seen this issue?.
Hi Support,
Solved the Issue as it was related to Maven Connectivity.
There was one difference in the documentation about the package information.
In the Tutorial:
import com.smartbear.cucumber.TestComplete;Maps into the TestComplete.jar import com.smartbear.cucumber and not as com.smartbear.testcomplete.cucumber;
Hi Support,
Solved the Issue as it was related to Maven Connectivity.
There was one difference in the documentation about the package information.
In the Tutorial:
import com.smartbear.cucumber.TestComplete;Maps into the TestComplete.jar import com.smartbear.cucumber and not as com.smartbear.testcomplete.cucumber;