Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建数据库提示java.io.EOFException: Unexpected end of ZLIB input stream #15

Open
mssky9527 opened this issue Jan 29, 2023 · 9 comments

Comments

@mssky9527
Copy link

当我创建数据库时,遇到了那种大型项目提示上面的报错
image
我看到师傅你也去codeql官方那里反馈了,但是他说他解决不了,请问师傅后来是怎么解决的

@webraybtl
Copy link
Owner

这个问题我还在研究,后续会继续跟踪这个问题

@mssky9527
Copy link
Author

这个问题我还在研究,后续会继续跟踪这个问题

👌

@webraybtl webraybtl reopened this Feb 1, 2023
@webraybtl
Copy link
Owner

我似乎找到了这个问题的原因,如果对大型项目进行编译,直接拷贝WEB根目录是不行的,还要把全部的jar包拷贝进去,因为有的项目会引入WEB根目录以外的jar。你可以把项目所有的jar包都拷贝到WEB-INF/lib/目录,再试一下呢?

@mssky9527
Copy link
Author

我似乎找到了这个问题的原因,如果对大型项目进行编译,直接拷贝WEB根目录是不行的,还要把全部的jar包拷贝进去,因为有的项目会引入WEB根目录以外的jar。你可以把项目所有的jar包都拷贝到WEB-INF/lib/目录,再试一下呢?

好的,我试试

@mssky9527
Copy link
Author

还是不行,我感觉应该是源码过大了,我这反编译出来的源码有1.6G的大小,他也是提示在压缩的时候出问题了

@webraybtl
Copy link
Owner

这个不是代码量大小的问题,本质上还是编译与反编译中的异常,我本地的代码已经修复,并更新了代码。你拉最新的代码,如果还有错的话,私聊我,我排查

@webraybtl
Copy link
Owner

这个问题可能还需要持久更新

@mssky9527
Copy link
Author

mssky9527 commented Feb 6, 2023

好的,今天有点忙

@mssky9527
Copy link
Author

我这边使用分步创建数据库的时候这个报错出现在最后一步
codeql database init --source-root --language java
codeql database trace-command --working-dir=
codeql database index-files --language properties --include-extension .properties --working-dir= --exclude=target
codeql database index-files --language xml --include-extension .xml --working-dir= --exclude=target
codeql database finalize
最后一步是去查web.xml的文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants