jest-dynamodb
jest-dynamodb copied to clipboard
Unable to initialize main class com.amazonaws.services.dynamodbv2.local.main.ServerRunner
hi, when using npm test (and having jest-dynamodb configured, happy to share the configuration files), i get the following error
npm test
Determining test suites to run...Error: Unable to initialize main class com.amazonaws.services.dynamodbv2.local.main.ServerRunner
Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/server/handler/AbstractHandler
anyone else experiencing this issue? i just noticed it today
I just had the exact same issue and doing as this comment said solved it for me: https://github.com/shelfio/jest-dynamodb/issues/159#issuecomment-1189542149
nice,
workaround:
export DEBUG='dynamodb-local' command
rm -R /var/folders/vq/0j4hndgs5ljcvtx59mmnnmb80000gn/T/dynamodb-local