今天部署了一个servlet 到新浪的sea,结果第一个版本没有错,第二个却报错如下:
JAVA_SAE_Fatal_error: Failed startup of context c.s.s.w.SaeWebAppContext{/5/tailre,file:/data1/jetty_work/62/tailre/jetty-0.0.0.0-10133-tailre.war-_5_tailre-any-/webapp/},/data1/www/htdocs/62/tailre/5/tailre.war
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:163)
at java.util.jar.JarInputStream.read(JarInputStream.java:194)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:109)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:87)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:135)
at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:166)
at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:153)
at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:82)
at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:64)
at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:75)
at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:75)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:412)
at com.sina.sae.webapp.SaeWebAppContext.preConfigure(SaeWebAppContext.java:86)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:482)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentMa yq30.javaruntime
上网搜了很久,也没发现问题,但是很多类似的问题都是 jar冲突,然后自己看了自己的war 里面多了个dom4j 所以有了删除错误,不得不吐槽下,新浪的sea,老是jar 冲突报错