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

Error: Invalid or corrupt jarfile #2

Open
HanShengYang opened this issue Sep 17, 2020 · 6 comments
Open

Error: Invalid or corrupt jarfile #2

HanShengYang opened this issue Sep 17, 2020 · 6 comments

Comments

@HanShengYang
Copy link

Why I execute jar show this ?
"Error: Invalid or corrupt jarfile tab2know-extractor.jar"
plz Did I do something wrong ?

@HanShengYang
Copy link
Author

@HongyuHe

@HongyuHe
Copy link
Member

Hi @HanShengYang! Try the following

sudo apt install git-lfs && git clone --recurse-submodules -j8 [email protected]:karmaresearch/tab2know.git

Let me know if it's still not working.

@jan-vu
Copy link

jan-vu commented Apr 27, 2021

Hi,

I am running into the same issue. When executing the jar file I get the same error message as above. I have tried installing git lfs and letting it track .jar files, this does not seem to help.

Kind regards,

Jan

@jan-vu
Copy link

jan-vu commented May 3, 2021

@HongyuHe :-)

@HongyuHe
Copy link
Member

HongyuHe commented May 4, 2021

Hi @jan-vu,

Thank you for your enquiry. Sorry for the late reply.

I've tried in another machine, but unfortunately, I couldn't reproduce the issue in question.

Anyway, first off, please make sure your git-lfs is up-to-date and next, delete the current repo that you cloned locally.

Then, run the following commands

git clone --recurse-submodules -j8 [email protected]:karmaresearch/tab2know.git && cd tab2know
git lfs fetch
git lfs checkout

Note that the size of the entire artefact should be some 68MB.

p.s. you don't need to track the jar as it has already been tracked.

Cheers

@YuzeLou
Copy link

YuzeLou commented May 9, 2022

@jan-vu I did the above and resolved my issue.

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

4 participants