feign接口上传文件时报错FileUploadException: the request was rejected because no multipart boundary was found 使用Feign远程调用上传文件服务时报错FileUploadException: the request was rejected because no multipart boundary was found。
Centos 报错 Repository extras is listed more than once in the configuration Centos 报错 Repository extras is listed more than once in the configuration
【设计模式二】——单例模式 单例模式(Singleton):保证一个类仅有一个实例,并提供一个访问它的全局访问点。类图如下:单例模式分为懒汉式的和饿汉式,有的地方也会讲登记式的单例模式,学习一下这三种单例模式。
后端数据返回前端时,不返回null的字段 前端调用某接口,返回的是一个pojo,里面有些字段可能为null。null的字段,就不返回给前端了。比如返回了User,里面只有一个account有值,其他都为null。那么在返回的时候,只返回account即可。
Spring Security中的AccessDeniedException和AuthenticationEntryPointException不被全局捕获 在学习Spring Security进行权限认证时,全局异常不捕获配置的异常处理器。: 全局异常捕获了Security自定义异常处理器。
Springboot项目捕获不到Filter中的异常解决方案 在使用Spring Security时用过滤器进行jwt校验时,全局的异常返回没有捕获到Filter中的异常。层抛出的异常,所以在filter当中抛出的异常异常类是没有感知的。:在过滤器中将异常转移到Controller中。
使用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?]
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版本不一致。
配置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
Nacos修改权重报错caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.con 学习Nacos时修改集群中服务的权重报错500特此记录一下。
启动Nacos报错(Caused by: java.net.UnknownHostException: jmenv.tbsite.net) 解决方法:Nacos默认使用的是集群(cluster)启动的,将其设置为单机启动(standalone)即可。若需要集群启动则需要相关的集群配置。
Scoop的安装和基本使用-2022 scoop是不错的包管理器,但是里面的软件下载地址都是bucket作者自己设置的,所以下载前最好看一下bucket里的json文件里的url,看看是从哪里下载的,防止下载到被篡改过的软件,导致电脑被中毒、被后门等问题。