请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

mongodb-file-server bootrun不了

2017-09-07 00:54:57.916  INFO 8624 --- [           main] o.s.b.a.mongo.embedded.EmbeddedMongo     : Download 3.2.2:Windows:B64 : starting...

2017-09-07 00:55:10.106  INFO 8624 --- [           main] o.s.b.a.mongo.embedded.EmbeddedMongo     : Download 3.2.2:Windows:B64 : DownloadSize: 148359445

2017-09-07 00:55:12.354  INFO 8624 --- [           main] o.s.b.a.mongo.embedded.EmbeddedMongo     : Download 3.2.2:Windows:B64 : 0 %

2017-09-07 00:57:04.751 ERROR 8624 --- [           main] d.f.embed.process.runtime.Starter        : prepare executable


java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_131]

at java.net.SocketInputStream.socketRead(Unknown Source) ~[na:1.8.0_131]

at java.net.SocketInputStream.read(Unknown Source) ~[na:1.8.0_131]

at java.net.SocketInputStream.read(Unknown Source) ~[na:1.8.0_131]

at sun.security.ssl.InputRecord.readFully(Unknown Source) ~[na:1.8.0_131]

at sun.security.ssl.InputRecord.readV3Record(Unknown Source) ~[na:1.8.0_131]

at sun.security.ssl.InputRecord.read(Unknown Source) ~[na:1.8.0_131]

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[na:1.8.0_131]

at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source) ~[na:1.8.0_131]

at sun.security.ssl.AppInputStream.read(Unknown Source) ~[na:1.8.0_131]

at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.8.0_131]

at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.8.0_131]

at sun.net.www.MeteredStream.read(Unknown Source) ~[na:1.8.0_131]

at java.io.FilterInputStream.read(Unknown Source) ~[na:1.8.0_131]

at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) ~[na:1.8.0_131]

at java.io.BufferedInputStream.read1(Unknown Source) ~[na:1.8.0_131]

at java.io.BufferedInputStream.read(Unknown Source) ~[na:1.8.0_131]

at java.io.FilterInputStream.read(Unknown Source) ~[na:1.8.0_131]

at de.flapdoodle.embed.process.store.Downloader.download(Downloader.java:87) ~[de.flapdoodle.embed.process-2.0.1.jar:na]

at de.flapdoodle.embed.process.store.ArtifactStore.checkDistribution(ArtifactStore.java:66) ~[de.flapdoodle.embed.process-2.0.1.jar:na]

at de.flapdoodle.embed.process.store.ExtractedArtifactStore.checkDistribution(ExtractedArtifactStore.java:60) ~[de.flapdoodle.embed.process-2.0.1.jar:na]

at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:56) [de.flapdoodle.embed.process-2.0.1.jar:na]

at de.flapdoodle.embed.process.runtime.Starter.prepare(Starter.java:49) [de.flapdoodle.embed.process-2.0.1.jar:na]

at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration.embeddedMongoServer(EmbeddedMongoAutoConfiguration.java:114) [spring-boot-autoconfigure-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$$EnhancerBySpringCGLIB$$78d6b36c.CGLIB$embeddedMongoServer$0(<generated>) [spring-boot-autoconfigure-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$$EnhancerBySpringCGLIB$$78d6b36c$$FastClassBySpringCGLIB$$2ba859af.invoke(<generated>) [spring-boot-autoconfigure-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) [spring-core-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration$$EnhancerBySpringCGLIB$$78d6b36c.embeddedMongoServer(<generated>) [spring-boot-autoconfigure-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]


正在回答

2回答

看这个“o.s.b.a.mongo.embedded.EmbeddedMongo     : Download 3.2.2:Windows:B64 : 0 %” 是内嵌 mongo 下载超时了。多尝试几次。不行就采用独立Mongo 服务器的方式来部署

0 回复 有任何疑惑可以回复我~
  • 提问者 一生最初的苍老 #1
    非常感谢!
    回复 有任何疑惑可以回复我~ 2017-09-07 21:11:47
  • 老师怎么解决这个问题?我们自己搭建个文件服务器吗?
    回复 有任何疑惑可以回复我~ 2020-02-27 13:08:18
简先生 2017-10-10 17:04:54

我也是这个问题

0 回复 有任何疑惑可以回复我~
  • 老卫 #1
    是内嵌 mongo 下载超时了。多尝试几次。不行就采用独立Mongo 服务器的方式来部署
    回复 有任何疑惑可以回复我~ 2017-10-10 21:23:14
  • 之后 我安装了一个3.4.4版本的MongoDB, //  Embedded MongoDB 的依赖 compile('de.flapdoodle.embed:de.flapdoodle.embed.mongo') 这个依赖还需要添加不?
    回复 有任何疑惑可以回复我~ 2017-10-11 09:59:58
  • 你的解决了没??
    回复 有任何疑惑可以回复我~ 2020-02-27 13:23:37
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信