@QuerydslPredicate throwing exception

前端 未结 4 767
情歌与酒
情歌与酒 2020-12-21 05:31

I\'m trying to understand how to use @QuerydslPredicate but my test API fails when it is called:

Servlet.service() for servlet [dispatcherServle         


        
4条回答
  •  萌比男神i
    2020-12-21 06:00

    If you comment out the @Configuration on the swagger configuration class it will work. I'm still trying to understand why, I guess that with that annotation the way spring loads the configuration is different and this is causing the issue.

    //@Configuration
    @EnableSwagger2
    public class SwaggerConfiguration extends WebMvcConfigurationSupport
    

提交回复
热议问题