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
I am trying to use the latest Spring project 2.3.7, Java version 17, and swagger generator plugin version 2.19.2. I upgrade all the OpenAPI dependencies to the recent versions. The build fails with this error:
Execution failed for task ':generateSwaggerCodeEStore'.
> Process 'command '/Users/shivangisharma/Library/Java/JavaVirtualMachines/corretto-17.0.4.1/Contents/Home/bin/java'' finished with non-zero exit value 1
Why this might be the case? Are the latest Swagger versions incompatible with SpringBoot?
Also, I have not used Gradle and Swagger before. Is it a prerequisite for this book?
How do we update the project to the latest versions? I am in Chapter 3 of the book.
Thank you,
Your guidance is much appreciated!
The text was updated successfully, but these errors were encountered:
Hello I am having the same issue, however I am not able yet to solve the error even though I already changed the versions to most recent ones and using java 17, the general cause of the error is the following one:
[main] ERROR i.s.v.p.reference.ReferenceVisitor - Error resolving schema #/components/schemas/Cart java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\home\api\src\main\resources\api\openapi.yaml
Hello,
I am trying to use the latest Spring project 2.3.7, Java version 17, and swagger generator plugin version 2.19.2. I upgrade all the OpenAPI dependencies to the recent versions. The build fails with this error:
Why this might be the case? Are the latest Swagger versions incompatible with SpringBoot?
Also, I have not used Gradle and Swagger before. Is it a prerequisite for this book?
How do we update the project to the latest versions? I am in Chapter 3 of the book.
Thank you,
Your guidance is much appreciated!
The text was updated successfully, but these errors were encountered: