Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What am I doing wrong -- Could not create task ':copyContracts'. #2146

Open
aronAtWex opened this issue Dec 5, 2024 · 0 comments
Open

What am I doing wrong -- Could not create task ':copyContracts'. #2146

aronAtWex opened this issue Dec 5, 2024 · 0 comments

Comments

@aronAtWex
Copy link

I have been trying to learn Spring Cloud Contract and implement it on one of our basic API services.

I get stuck with this error.
An exception occurred applying plugin request [id: 'org.springframework.cloud.contract', version: '4.2.0']

Failed to apply plugin 'org.springframework.cloud.contract'.
Could not create task ':copyContracts'.
> Configuration with name 'contractTestGeneratorRuntimeClasspath' not found.

  I have trying some get starting guides on the internet but they seem out dated some. 
  https://spring.io/guides/gs/contract-rest
  https://www.baeldung.com/spring-cloud-contract
  
  I'm using gradle which I'm still learning, but most of the guides are using Maven. 
  Any help would be greatly appreciated. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants