排序
已解决:SpringBoot使用Swagger2提示Unable to infer base url错误
环境 版本: swagger2 2.9.2; 错误信息 访问swagger首页 http://localhost:8080/swagger-ui.html,错误信息如下: Unable to infer base url. This is common when using dynamic servlet regi...
Spring注解@Controller和@RestController的区别?
官方文档:Annotation Type RestController 解释说:A convenience annotation that is itself annotated with @Controller and @ResponseBody。 也就是@RestController注解相当于控制器前加@Co...
lombok配置文件说明
lombok.config文件配置项说明: # 默认: false,lombok默认对boolean类型字段生成的get方法使用is前缀, 通过此配置则使用get前缀 lombok.getter.noIsPrefix=true # 默认: false,默认的set方法...