前端后端都报500 Connection timed out: no further information

在实施Gulimall电子商务平台时遇到启动故障,前端页面无法刷新数据,同时后端报500错误。问题源于配置文件加载错误,导致MySQL连接URL不正确。解决方案是删除并重新创建application.properties或application.yml文件,重启项目,恢复正常连接。确保服务器数据库连接状态良好,端口开放且不受防火墙阻拦。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在做gulimall商城项目时,启动项目,前端刷新一直没有数据,前端后端都报500

前端报错:

500 Server Error for HTTP GET .....

后端报错:

ERROR 20388 --- [ctor-http-nio-6] a.w.r.e.AbstractErrorWebExceptionHandler : [1d89f367]  500 Server Error for HTTP GET "/api/product/category/list/tree"
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /172.25.55.48:8002
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
	|_ checkpoint ⇢ org.springframework.web.cors.reactive.CorsWebFilter [DefaultWebFilterChain]
	|_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
	|_ checkpoint ⇢ HTTP GET "/api/product/category/list/tree" [ExceptionHandlingWebHandler]
Stack trace:
Caused by: java.net.ConnectException: Connection timed out: no further information
	at sun.nio
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值