You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org/slf4j/LoggerFactory
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at com.jayway.jsonpath.internal.JsonContext.<clinit>(JsonContext.java:41)
at com.jayway.jsonpath.internal.ParseContextImpl.parse(ParseContextImpl.java:38)
at net.javacrumbs.jsonunit.jsonpath.InternalJsonPathUtils.readValue(InternalJsonPathUtils.java:69)
at net.javacrumbs.jsonunit.jsonpath.JsonPathAdapter.inPath(JsonPathAdapter.java:44)
at net.javacrumbs.jsonunit.assertj.JsonAssert$ConfigurableJsonAssert.inPath(JsonAssert.java:417)
Describe expected behavior
Test should pass; logging should be optional or bundled as a dependency.
The error can be resolved by modifying the Gradle configuration to:
Describe the bug
AssertJ
Dependencies (Gradle JVM Test Suite DSL) (excerpt)
Test
Result
Test should pass; logging should be optional or bundled as a dependency.
The error can be resolved by modifying the Gradle configuration to:
I also tested this on a "traditional" (non-JVM Suite configuration) Gradle project:
And the results, and the solution, was the same.
The text was updated successfully, but these errors were encountered: