JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
When trying to make Spring Cloud Contract work with 4.0.8 version of Pact JVM Consumer, I get the following exception
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during instruction selection: java.lang.NoClassDefFoundError: com.amazonaws.services.s3.AmazonS3
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com.amazonaws.services.s3.AmazonS3
at org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1118)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1098)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:640)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:618)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:595)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:574)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.gmavenplus.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:213)
When checking the dependencies I can see that I have a dependency on AmazonS3.
When trying to make Spring Cloud Contract work with 4.0.8 version of Pact JVM Consumer, I get the following exception
When checking the dependencies I can see that I have a dependency on
AmazonS3
.Of course I don't use
AmazonS3
at all. Can you mark this as optional or maybe I'm doing something wrong?