- 博客(20)
- 收藏
- 关注
原创 Java生成随机UUID
1. 导入依赖,用于生成UUID等。3. 生成一个随机的UUID带斜杠。2. 随机生成一个UUID带斜杠。4. 生成不带斜杆的UUID。
2023-06-15 16:15:28
740
原创 Knife4j文档请求异常:TypeError: n.forEach is not a function
RestControllerAdvice(basePackages = {"com.yang.demo"}, annotations = {RestController.class}) 中标明指将自己的接口使用统一结果返回。1.错误:配置了统一结果返回后,接口文档不能使用。
2023-06-08 14:50:29
1401
2
原创 <artifactId>spring-boot-maven-plugin</artifactId>报红
错误:插件没有版本号。改正:添加版本号依赖。
2023-06-07 14:57:11
368
1
原创 Ambiguous mapping;Invocation of init method failed
报错:Invocation of init method failed;原因:将两个注解错写为一个注解。
2023-06-06 17:51:27
122
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人