-
Notifications
You must be signed in to change notification settings - Fork 30
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 DynamoDBLocal.jar #30
Comments
Delete the folder .dynamodb on your project root folder then run sls dynamodb install again to download dependencies. Ensure it gets to 100%. |
Had the same problem on mac os. Reinstalling Java fixed for me. |
I have the same problem on Mac OS as well. I tried the current jdk and jdk version 8. Reinstalling didn't help. Any suggestions? |
Works with Do you know where the |
I found the dynamodblocal installed in $TMPDIR |
Okay, I can't find it in there unfortunately. With sudo I can't |
Okay it works now without sudo. No idea why, thanks anyway! :-) |
I'm also encountered with this issue and this is the procedure I've done to solve it:
This fixed my issue on my local machine. |
@Davidislit |
Using this on a private library without serverless ... I am on macOS Big Sur ... none of the workarounds work. Throws the same error. |
I guess it's an issue of the cloud region/zone, most probably. |
%temp%\dynamodb-local on windows. |
I solved the problem by deleting the directory |
I am facing the same issue on Mac. Where should I put the jar file? |
I have a fairly simple test but when I try to use the package I get a corruption error, any ideas?
Sample code below:
I see it downloading the jar to
./dynamodblocal-bin
Any ideas on this, what am I missing?
thanks in advance
The text was updated successfully, but these errors were encountered: