Ask a Question

BDD Cucumber Dependencies

SOLVED
vikram_u_k
Contributor

BDD Cucumber Dependencies

Hi Support,

  With the Example Project zip file for BDD at SmartBear Cucumber Zip 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 FixJava error is supposed to be a mismatch of the Jar files for Cucumber. Has anyone seen this issue?.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
vikram_u_k
Contributor

Re: BDD Cucumber Dependencies

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;

View solution in original post

1 REPLY 1
vikram_u_k
Contributor

Re: BDD Cucumber Dependencies

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;

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: