Caused by: java.net.ConnectException: Connection refused: connect 被拒绝连接了,应该是哪个服务未能正常启动(可能没有启动,可能端口被占)异常下面应该有提示 我是mongodb连接没成功,检查了下,mongodb服务没有开启