![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
遇到的问题
虎落鹰背
不积硅步无以至千里,不积小流无以成江海
展开
-
feign接口上传文件时报错FileUploadException: the request was rejected because no multipart boundary was found
使用Feign远程调用上传文件服务时报错FileUploadException: the request was rejected because no multipart boundary was found。原创 2023-06-13 23:46:40 · 2508 阅读 · 2 评论 -
springboot服务运行没有报错但是没有注册到nacos
在学习sprint-cloud-alibaba时,服务正常运行了但是没有注册到nacos中。原创 2023-06-07 23:32:57 · 1695 阅读 · 3 评论 -
后端数据返回前端时,不返回null的字段
前端调用某接口,返回的是一个pojo,里面有些字段可能为null。null的字段,就不返回给前端了。比如返回了User,里面只有一个account有值,其他都为null。那么在返回的时候,只返回account即可。原创 2022-12-22 14:35:36 · 2542 阅读 · 0 评论 -
Spring Security中的AccessDeniedException和AuthenticationEntryPointException不被全局捕获
在学习Spring Security进行权限认证时,全局异常不捕获配置的异常处理器。: 全局异常捕获了Security自定义异常处理器。原创 2022-12-22 11:18:14 · 1206 阅读 · 4 评论 -
Springboot项目捕获不到Filter中的异常解决方案
在使用Spring Security时用过滤器进行jwt校验时,全局的异常返回没有捕获到Filter中的异常。层抛出的异常,所以在filter当中抛出的异常异常类是没有感知的。:在过滤器中将异常转移到Controller中。原创 2022-12-22 10:23:01 · 2601 阅读 · 9 评论 -
使用jwt0.11.1导致版本报错
[io.jsonwebtoken.impl.DefaultJwtBuilder] from the thread context, current, or system/application ClassLoaders. All heuristics have been exhausted. Class could not be found. Have you remembered to include the jjwt-impl.jar in your runtime classpath?]原创 2022-12-21 21:31:33 · 2510 阅读 · 0 评论 -
nacos新增配置报错: 发布失败。请检查参数是否正确
nacos 2.1.0版本之后初始化数据库中config_info 和 his_config_info 表中新增了encrypted_data_key密钥字段。nacos.2.1.0 及之前数据库初始化脚本为nacos-mysql.sql,2.2.0 之后重命名为mysql-schema.sql。Nacos配置集群后,发布配置时报错 发布失败。请检查参数是否正确。nacos 初始化sql与nacos版本不一致。原创 2022-11-08 22:18:25 · 2106 阅读 · 0 评论 -
配置nacos集群报错request: /nacos/v1/ns/instance/list failed, servers: [localhost:81/nacos], code: 500, msg
request: /nacos/v1/ns/instance/list failed, servers: [localhost:81/nacos], code: 500, msg: Whitelabel ErrorPageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Tue Nov原创 2022-11-08 21:51:03 · 6671 阅读 · 6 评论 -
Nacos修改权重报错caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.con
学习Nacos时修改集群中服务的权重报错500特此记录一下。原创 2022-11-07 16:40:13 · 4434 阅读 · 0 评论 -
启动Nacos报错(Caused by: java.net.UnknownHostException: jmenv.tbsite.net)
解决方法:Nacos默认使用的是集群(cluster)启动的,将其设置为单机启动(standalone)即可。若需要集群启动则需要相关的集群配置。原创 2022-11-07 08:54:59 · 1981 阅读 · 0 评论 -
vue使用element-ui或者element-plus固定 el-header 和 el-aside
在使用element-plus做后台管理的时候,需要固定el-header和el-aside,特此记录以下。只需要将el-main固定高度即可。原创 2022-08-18 14:55:41 · 3540 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
springboot集成mybatis-plus报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):原创 2022-08-16 11:11:01 · 100 阅读 · 0 评论 -
Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found Idea创建springboot工程遇到的问题记录
Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found Idea创建springboot工程遇到的问题记录原创 2022-08-15 09:03:21 · 266 阅读 · 0 评论