我有一个使用 Resteasy 作为后端 api/服务的 GWT 应用程序,该项目可以正常工作,但是当我将项目移动到另一台机器并运行它时,在运行 GWT 时出现此错误:
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 是什么意思?这是否意味着损坏的依赖关系?