jest-dynamodb icon indicating copy to clipboard operation
jest-dynamodb copied to clipboard

Error: Invalid or corrupt jarfile DynamoDBLocal.jar

Open camfeghali opened this issue 1 year ago • 4 comments

All of a sudden, I am getting a Error: Invalid or corrupt jarfile DynamoDBLocal.jar error when running yarn jest -- <test-file-path>.

After reinstalling installing Dynamodb, test pass, but I need to run java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb in another process.

Please advise, this behavior is new; my setup was working perfectly up until right now.

camfeghali avatar Mar 23 '23 08:03 camfeghali

I am having the same issue. For me the trigger seems to be system upgrade.

randolphpark avatar Sep 10 '23 23:09 randolphpark

+1

ktwbc avatar Apr 02 '24 16:04 ktwbc

I also have this problem. Not sure why it happened.

zhaoyi0113 avatar Apr 13 '24 13:04 zhaoyi0113

I have solved the issue deleting the folder /tmp/dynamodb-local

https://github.com/rynop/dynamodb-local/issues/30#issuecomment-2061344434

pablo-albaladejo avatar Apr 17 '24 14:04 pablo-albaladejo