com.google.inject.ConfigurationException: Guice configuration errors: 1) Could not find a suitable constructor in org.springframework.cloud.contract.maven.verifier.RunMojo. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

GitHub | poprygun | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Could not find a suitable constructor exception when running spring-cloud-contract-maven-plugin:1.0.0.RELEASE:generateTests

    GitHub | 6 months ago | poprygun
    com.google.inject.ConfigurationException: Guice configuration errors: 1) Could not find a suitable constructor in org.springframework.cloud.contract.maven.verifier.RunMojo. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

    Root Cause Analysis

    1. com.google.inject.ConfigurationException

      Guice configuration errors: 1) Could not find a suitable constructor in org.springframework.cloud.contract.maven.verifier.RunMojo. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

      at org.springframework.cloud.contract.maven.verifier.RunMojo.class()
    2. org.springframework.cloud
      RunMojo.class
      1. org.springframework.cloud.contract.maven.verifier.RunMojo.class(Unknown Source)
      1 frame