我有一個使用Resteasy作爲後端API /服務的GWT應用程序,該項目正常工作,但是當我將項目移動到另一臺機器並運行它時,出現此錯誤當做GWT運行時:ZipException:運行應用程序時無效距離太遠返回錯誤
Caused by: java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:193)
at java.util.jar.JarInputStream.read(JarInputStream.java:207)
at org.scannotation.archiveiterator.InputStreamWrapper.read(InputStreamWrapper.java:36)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at javassist.bytecode.ClassFile.read(ClassFile.java:731)
at javassist.bytecode.ClassFile.<init>(ClassFile.java:108)
at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:343)
at org.scannotation.AnnotationDB.scanArchives(AnnotationDB.java:326)
at org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap.createDeployment(ConfigurationBootstrap.java:163)
... 24 more
有什麼問題?
- 是GWT罐子還是Resteasy? ZipException是什麼意思?這是否意味着損壞的依賴關係?
什麼版本的Java您使用的是? –
@ChristianBongiorno Java8 – xybrek
@ChristianBongiorno我也試過使用Java7 – xybrek