上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 41 下一页
摘要: 问题描述 SpringBoot2.7.x 版本在整合 swagger2 时抛出异常如下: org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootst 阅读全文
posted @ 2023-09-25 20:48 Binge-和时间做朋友 阅读(1982) 评论(0) 推荐(2)
摘要: 问题描述 相信使用过 Maven 的同学,偶尔会遇到莫名其妙的问题,就是 pom.xml 添加的依赖,老是显示红色的波浪线,而且无论怎么刷新都无法消除。 原因分析 出现这种情况多半是由于网络传输原因(网络不稳定),没有将 Maven 的依赖的 jar 包下载完整而导致。jar 包下载出现不完整,本地 阅读全文
posted @ 2023-09-25 12:52 Binge-和时间做朋友 阅读(372) 评论(0) 推荐(0)
摘要: 下载 虽然 Redis 官方网站没有提供 Windows 版的安装包,但可以通过 GitHub 来下载 Windows 版 Redis 安装包。 下载地址:https://github.com/tporadowski/redis/releases 打开上述的下载链接,Redis 支持 32 位和 6 阅读全文
posted @ 2023-09-23 19:19 Binge-和时间做朋友 阅读(7886) 评论(1) 推荐(1)
摘要: 一、注解概述 常用注解: @Api()用于类; 表示标识这个类是swagger的资源 ,@Api 注解用于标注一个Controller(Class) @ApiOperation()用于方法; 表示一个http请求的操作 @ApiParam()用于方法,参数,字段说明; 表示对参数的添加元数据(说明或 阅读全文
posted @ 2023-09-22 00:02 Binge-和时间做朋友 阅读(1020) 评论(0) 推荐(0)
摘要: 步骤一:添加 swagger 依赖包 <!-- swagger 依赖--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version 阅读全文
posted @ 2023-09-21 23:51 Binge-和时间做朋友 阅读(42) 评论(0) 推荐(0)
摘要: HTTP Client 软件项目开发有很多 RESTful API 接口需要运行来验证效果,所以急需一款高效的接口测试工具。 可能大家用的比较多的是 swagger 或者 postman,这2个确实不错,不过这里我给大家推荐一种更简单的接口测试工具。 这款工具就是 idea 中的自带的:HTTP C 阅读全文
posted @ 2023-09-21 10:31 Binge-和时间做朋友 阅读(393) 评论(0) 推荐(0)
摘要: logback.xml 配置文件 <?xml version="1.0" encoding="UTF-8"?> <configuration debug="false" scan="true" scanPeriod="1 seconds"> <contextName>logback</context 阅读全文
posted @ 2023-09-20 23:13 Binge-和时间做朋友 阅读(1421) 评论(0) 推荐(0)
摘要: 步骤一:创建 Maven web 项目 步骤二:添加 pom.xml 相关依赖包 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://w 阅读全文
posted @ 2023-09-17 16:51 Binge-和时间做朋友 阅读(123) 评论(0) 推荐(0)
摘要: <!-- jackson 依赖包 --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.11.4</version> </depe 阅读全文
posted @ 2023-09-14 00:04 Binge-和时间做朋友 阅读(139) 评论(0) 推荐(0)
摘要: 错误描述 如果项目是运行在 Tomcat 8 及以上版本,浏览器发出的 PUT 请求和 DELETE 请求可以被页面控制器(Controller)成功接收到,但是返回 JSP 页面则会报 HTTP 405 的错误提示:"消息 JSP 只允许 GET、POST 或 HEAD。Jasper 还允许OPT 阅读全文
posted @ 2023-09-13 22:25 Binge-和时间做朋友 阅读(244) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 41 下一页