- 博客(10)
- 收藏
- 关注
原创 springcloudalibab启动就报 :java.net.Inet6AddressImpl.getHostByAddr(Native Method)
The web application [ROOT] appears to have started a thread named [logback-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:java.net.Inet6AddressImpl.getHostByAddr(Native Method)java.net.InetAddress$2.getHo
2021-08-16 20:58:29
2384
原创 报错解决:Request execution error. endpoint=DefaultEndpoint{ serviceUrl=‘http://127.0.0.1:6668/eureka/}
错误如下2021-08-07 21:55:27.121 ERROR 8736 --- [nfoReplicator-0] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/}com.sun.jersey.api.client.ClientHandlerException: java.n
2021-08-07 22:00:52
3949
4
原创 centos安装报错src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’
安装nginx出现这种问题,网上所有办法都试了. 最后发现是centos版本跟nginx版本冲突的问题我用的是阿里的ECS 版本是8.3 使用nginx-1.12.2 一直出现上面的问题最后使用nginx 1.18解决问题使用下面指令再也没有上述错误makemake install完美解决...
2021-08-06 20:47:42
1175
原创 Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAut
搭建用springboot搭建springcloud项目时出现这个问题.java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer at org.springframework.boot.autoco
2021-07-27 10:02:45
3371
原创 解决 IDEA maven项目 maven projects 中项目是灰色的,依赖无法添加的问题
maven中某个模块颜色呈淡灰色,依赖无法添加,原因是我们之前建立了一个与之同名的模块解决办法:如下设置中将√去掉
2021-07-25 14:44:03
639
原创 SpringBoot项目中No converter found for return value of type:XX.XX
在实体包中没有添加相应的get() set()方法导致添加get() /set()后问题解决
2021-07-19 08:36:16
97
原创 springboot项目中 怎么修改浏览器的访问地址 访问端口 怎么对一些配置做出更改
springboot项目中 怎么修改浏览器的访问地址 访问端口? 怎么对一些配置做出更改?打开项目的External libraries2.找到spring-boot-autoconfigure文件,点击进入然后进入图示目录3.找到我们要更改的项 ,进入xxxproperties文件(这里我们想更改tomcat的访问端口 于是我们找到web目录下的xxxpropertis文件)我们要进行任何修改都是进入xx目录下的xxxproperties文件进行查看在ServerProper
2021-07-17 21:44:46
1117
原创 深入探索单例之懒汉模式LazySingleTon
深入探索单例模式singleTon单例模式:保证在任何类任何方法中,获取到某类实例只有一个第一种方式public class LazySingleTon { private LazySingleTon singleTon; //私有化构造方法 private LazySingleTon(){} //对外部提供一个方法,用于获取LazySingleTon实例 public synchronized LazySingleTon getInstance(){
2021-07-17 08:27:11
427
原创 解决zookeeper项目连接ECS的linux服务器 Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error
解决zookeeper项目连接ECS的linux服务器 Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error) Session oxo for server null ,unexpected error,closing socket connection and attempting reconnect(我用的是阿里云,这个错误的意思就是 :不会尝试使用SASL进行身份验证, 也就是远程连接出错, 无法在
2021-07-12 22:47:38
2142
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人