- 博客(11)
- 收藏
- 关注
原创 git代理报错Could not resolve host: socks5
【代码】git代理报错Could not resolve host: socks5。
2025-03-14 20:46:12
200
原创 Nacos com.alibaba.nacos.api.exception.NacosException: Client not connected, current status:STARTING
vm虚拟机中安装nacos2.2.0版本 端口只开放了 8848,还要开放9848和9849两个端口。
2025-01-08 22:38:12
309
原创 vite跨域配置失败
请求中已经代理到了http://localhost:8201,请求中就不用加IP:端口,注意接口前缀/api,代理规则是要有/api的请求。直接/api/hosp/hospital/1/10。
2023-07-21 10:59:49
746
1
原创 springboot集成springdata操作es,使用ElasticsearchOperations删除索引
springboot集成es删除索引
2023-05-30 14:42:18
602
1
原创 hutool的代理失败Unable to tunnel through proxy. Proxy returns “HTTP/1.0 407 Proxy Authentication Required
springboot中代理失败,下面的此配置要在springboot启动之前设置。
2023-04-03 14:50:48
2362
原创 java在linux系统下放开文件权限
// 获取操作系统 String os = System.getProperty("os.name"); //转换小写后判断3位字符前缀 if(!os.toLowerCase().startsWith("win")){ try { //开放权限 Runtime.getRuntime().exec("chmod 777 -R " + "/usr/local/yqy.jpg..
2022-04-21 14:53:11
1481
原创 mac安装telnet
brew install telnet如何发送数据?telnet 127.0.0.1 6666命令执行完毕后,直接输入数据回车即可发送
2022-04-07 16:14:02
750
原创 gateway网关聚合swagger实现多个服务之间切换
效果预览项目结构springcloud的父依赖<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 htt
2021-08-26 09:59:03
1536
5
原创 Shiro报错Consider defining a bean named ‘authenticator‘ in your configuration.
检查了那么久,问题很无语!!!错误原因竟然是安全管理器: /** * 2、安全管理器 * */ @Bean(name = "defaultWebSecurityManager") public DefaultSecurityManager getDefaultSecurityManager(@Qualifier("myRealm") Realm realm){ DefaultSecurityManager securityManager =
2021-02-06 09:34:24
374
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人