开发者社区> 问答> 正文

遭遇 java.io.EOFException: Unexpected end?报错

@江南白衣 你好,想跟你请教个问题:一致关注你得Springside4。最近下了下4.0.1GA版。

启动quickStart 项目。报错。日志如下:

2013-01-21 19:51:28.852:WARN:oejw.WebAppContext:Failed startup of context o.m.j.p.JettyWebAppContext{/quickstart,file:/E:/zhaogy2012/springside/springside4-4.0.1.GA/examples/quickstart/src/main/webapp/},file:/E:/zhaogy2012/springside/springside4-4.0.1.GA/examples/quickstart/src/main/webapp/
java.io.EOFException: Unexpected end of ZLIB input stream
 at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
 at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
 at java.util.zip.ZipInputStream.read(ZipInputStream.java:146)
 at java.util.jar.JarInputStream.read(JarInputStream.java:177)
 at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:92)
 at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:70)
 at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:118)
 at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:149)
 at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)
 at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)
 at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)
 at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)
 at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)
 at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:443)
 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:479)
 at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
 at org.eclipse.jetty.server.Server.doStart(Server.java:275)
 at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:511)
 at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:364)
 at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)
 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] Started Jetty Server
2013-01-21 19:51:28.883:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080

 

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

    哎,悲剧啊,我和你报一样的错,在命令行启动jetty就是这个,在eclipse里启动也报,差不多的。

    我也是你没解决了吗?有些包下载的时候有问题了?
    2020-06-23 11:52:46
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载