Open naeemghumman opened 3 years ago
I got the same error, the error is inside springfox.documentation.grails.UrlMappings , mapping.getConstraints() do not compile with with version 3.3.11 of Grails (and therefore with grails-web-url-mappings-3.3.11.jar). Any suggestion ? Thanks
I am trying to integrate Swagger 2 with Grails 3.3.11 (Java 1.8) but getting below exception. Any workaround will be appreciated?
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2021-01-01 17:46:24.214 ERROR --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
An attempt was made to call the method grails.web.mapping.UrlMapping.getConstraints()[Lgrails/validation/ConstrainedProperty; but it does not exist. Its class, grails.web.mapping.UrlMapping, is available from the following locations:
It was loaded from the following location:
Action:
Correct the classpath of your application so that it contains a single, compatible version of grails.web.mapping.UrlMapping
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':bootRun'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 38s Error | Failed to start server (Use --stacktrace to see the full trace)