- 博客(52)
- 收藏
- 关注
原创 SpringCloud Feign 报错 Request method ‘POST‘ not supported 的解决办法
可能的原因是 Feign 默认使用的请求方法为 POST,而不是 GET。另外也有可能是由于消费方法和接口方法使用的注解不正确;如果 Feign 代理的是 get 请求,则每个参数必须带上 @RequestParam 注解,否则会报 POST not supported可能是SpringCloud原生的Feign,可以考虑使用OpenFeign可以考虑修改使用feign默认配置的方法默认使用post通过feign调用get请求时,如果接口参数含有POJO时,可能会出现 ‘POST’ not supp
2024-07-04 22:17:11
2266
原创 解决使用Jmeter进行测试时出现“302“,‘‘401“等用户未登录的问题
在使用 JMeter 进行压力测试时,可能会遇程序存在安全验证,必须登录后才能对里面的具体方法进行测试:如果遇到登录问题,通常是因为 JMeter 无法模拟用户的登录状态,导致后续请求无法获取到正确的身份验证信息。
2024-06-12 23:56:05
1798
原创 微服务启动出现错误Failed to process import candidates for configuration class [xxxxx]; nested exception is ja
问题描述:微服务启动出现错误org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [xxxxx]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.spr
2023-11-30 18:52:27
7958
原创 Error running OrderServiceBoot. Command line is too long.
微服务启动错误:Error running OrderServiceBoot. Command line is too long.
2023-11-29 20:49:01
1344
1
原创 同一局域网下,一台电脑连接另一台电脑的虚拟机(从属机(window)连接主机(window)虚拟机(Linux)的连接流程)
一台电脑连接另一台电脑的虚拟机(从属机(window)连接主机(window)虚拟机(Linux)的连接流程)在同局域网下。
2022-09-26 22:26:06
11822
12
原创 解决主机连接Linux虚拟机应用时,外部连接不通的问题
解决window主机连接Linux虚拟机Redis服务时,window外部连接不通的问题(已解决)
2022-09-16 17:22:15
2975
1
原创 git项目初次push提示 error: failed to push some refs to ‘https://github.com/xxx
git项目初次push提示error: failed to push some refs to 'https://github.com/xxx 问题(已解决)
2022-09-02 20:22:09
1082
原创 数据结构与算法(07)之数组与字符串解法(双指针,快慢指针,哈希表,KMP算法等)
数据结构与算法(07)之数组与字符串解法(双指针,快慢指针,哈希表,字符串匹配,KMP算法等)
2022-08-08 21:19:14
392
原创 Spring+Spring Boot+Spring Cloud项目开发常用注解大全
Spring + Spring Boot + Spring Cloud项目开发常用注解大全(项目开发有这些就够了)
2022-07-19 23:58:46
932
原创 本地服务配置内网穿透实现微信公众号整合
本地服务配置内网穿透实现微信公众号整合。背景:在做一个点播课程的网站系统时,想要接入微信公众号实现在微信公众号上的课程点播等等操作。然后公众号注册一类的这里暂时先不谈论,有需要的同学可以自行查找。 但是,微信测试公众号不可以直接使用本地地址去直接访问,这里就需要一个内网穿透的操作实现内地服务的转换。如下图所示 配置信息:1.在接口配置信息框,需要配置的是自己的后端服务接口。这里项目采用(SpringBoot+vue)的前后端分离开发方式,所以接口配置项要写对应后端服务的接口地址。...
2022-07-11 15:43:38
1374
5
原创 Maven打包报错:[WARNING] The POM for xxx is missing, no dependency inform
Maven打包报错:[WARNING] The POM for xxx is missing, no dependency information available
2022-07-10 00:00:20
9436
3
原创 swagger错误:WARN i.s.m.p.AbstractSerializableParameter - [getExample,421] - Illegal DefaultValue null
引入swagger错误:WARN i.s.m.p.AbstractSerializableParameter - [getExample,421] - Illegal DefaultValue null启动Springboot 出现的异常java.lang.NumberFormatException: For input string: “”
2022-07-03 22:31:11
1011
1
转载 swagger常用注释API @ApiModel、@ApiModelProperty的用法
swagger常用注释API @ApiModel、@ApiModelProperty的用法
2022-07-03 16:46:17
3857
原创 连接数据库时出现WARN: Establishing SSL connection without server‘s identity verification is not recommended.
连接数据库时出现WARN: Establishing SSL connection without server‘s identity verification is not recommended.
2022-07-02 18:39:43
4475
原创 解决springboot引入mbatis-plus依赖单元测试时出现 Error:(3, 44) java: 程序包com.baomidou.mybatisplus.core.mapper不存在
解决springboot引入mbatis-plus依赖单元测试时出现 Error:(3, 44) java: 程序包com.baomidou.mybatisplus.core.mapper不存在Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:异常。
2022-07-01 20:13:51
6518
2
原创 解决npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.
解决npm -v 报 npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.问题
2022-06-30 23:18:25
70840
58
原创 解决AttributeError: ‘NoneType‘ object has no attribute ‘val‘ if left.val!=right.val:Line 17 问题
解决AttributeError: ‘NoneType‘ object has no attribute ‘val‘ if left.val!=right.val:Line 17 问题
2022-06-30 22:35:23
2039
原创 对于解决python中出现的OSError: [Errno 22] Invalid argument: ‘\u202aD‘ 的解决
对于解决python中出现的OSError: [Errno 22] Invalid argument: ‘\u202aD‘ 的解决
2022-06-24 23:27:50
5055
4
原创 IndexError: index 9 is out of bounds for axis 0 with size 9;数组下标溢出问题
IndexError: index 9 is out of bounds for axis 0 with size 9;数组下标溢出问题
2022-06-24 21:54:25
9934
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人