I moved my project from spring-boot 2.1.9 to 2.2.0.
While starting the project, I am facing the below error messages.
Caused by: org.sprin
I had this issue with Swagger + HATEOAS in my spring-boot application.
The fix is given below (edit your Swagger configuration class):
@Configuration
@EnableSwagger2
public class SwaggerConfiguration {
@Bean
public LinkDiscoverers discoverers() {
List plugins = new ArrayList<>();
plugins.add(new CollectionJsonLinkDiscoverer());
return new LinkDiscoverers(SimplePluginRegistry.create(plugins));
}
}