- 博客(8)
- 收藏
- 关注
原创 Centos7执行yum install wget命令失败
在CentOS 7系统中,使用yum安装wget时可能因官方源地址变更导致失败。解决方法是将/etc/yum.repos.d/CentOS-Base.repo配置文件中的baseurl替换为阿里云镜像源地址(https://mirrors.aliyun.com/centos/)。修改完成后执行yum clean all清除缓存,再运行yum makecache重建缓存,即可正常使用yum install wget安装软件。该方法通过更换软件源解决了因官方源地址变更导致的安装失败问题。
2025-07-07 14:25:19
213
原创 springboot项目启动eureka服务时,提示ServletContext错误
在springboot上添加完依赖spring-cloud-starter-netflix-eureka-server和配置后,启动服务报错,最后提示Correct the classpath of your application so that it contains a single, compatible version of javax.servlet.ServletContext。
2023-08-07 15:37:02
538
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人