开发者社区> 问答> 正文

springside4.1 启动showcase 报错?报错

@江南白衣 你好,想跟你请教个问题:

我启动总是报错,错误信息如下:

java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.6.0_45]
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) ~[na:1.6.0_45]
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) ~[na:1.6.0_45]
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) ~[na:1.6.0_45]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) ~[na:1.6.0_45]
	at java.net.Socket.connect(Socket.java:529) ~[na:1.6.0_45]
	at java.net.Socket.connect(Socket.java:478) ~[na:1.6.0_45]
	at java.net.Socket.<init>(Socket.java:375) ~[na:1.6.0_45]
	at java.net.Socket.<init>(Socket.java:218) ~[na:1.6.0_45]
	at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:212) ~[na:1.6]
	at org.springside.modules.metrics.report.GraphiteReporter.connect(GraphiteReporter.java:136) ~[springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at org.springside.modules.metrics.report.GraphiteReporter.report(GraphiteReporter.java:52) ~[springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at org.springside.modules.metrics.report.ReportScheduler.report(ReportScheduler.java:63) [springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at org.springside.modules.metrics.report.ReportScheduler$1.run(ReportScheduler.java:72) [springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_45]
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [na:1.6.0_45]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [na:1.6.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_45]
	at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]



数据库已经启动了,而且连接正常,不知道为什么始终报报这个错误。麻烦帮忙解决一下,谢谢

展开
收起
爱吃鱼的程序员 2020-06-22 13:28:34 434 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    这个还要启动一个Graphite,新版已经默认不连接Graphite了

    2020-06-22 13:28:52
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Apache Wicket User Guide - Ref 立即下载
Apache Wicket User Guide-Refer 立即下载
Apache NiFi Crash Course Intro 立即下载