Closed SundarHubTest closed 1 year ago
Hello,
You need the jackson
dependency. Trying adding this to your pom.xml
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.13.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.13.3</version>
</dependency>
Added the above depedency and still facing same issue. When i execute the test I noticed the below when test execution is getting complete, the "courgette-report" folder is become blank.
Can you run mvn dependency:tree
and provide the output?
From the External Libraries
menu in your IDE, expand the Courgette
library and expand courgette -> runtime -> utils
If you look at the class JacksonUtils
and see any issues with this class such as missing deps (code in red) then this would suggest you missing the Jackson dependency.
Yes, after I updated my pom as below. I able to see report get generated successfully. I hope the issue might have occured due to version incompatability between wiremock and courgette jackson. Thank you
com.github.tomakehurst wiremock 2.27.2 com.google.guava guava com.fasterxml.jackson.core jackson-databind com.fasterxml.jackson.core jackson-annotations org.apache.httpcomponents.client5 httpclient5 com.fasterxml.jackson.core jackson-core 2.13.3
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.13.3</version>
</dependency>
Hi Prashant, In need of your help to resolve below two issues: