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

Unable to initialize main class com.amazonaws.services.dynamodbv2.local.main.ServerRunner #265

Open
skilbjo opened this issue Sep 16, 2024 · 2 comments

Comments

@skilbjo
Copy link

skilbjo commented Sep 16, 2024

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

@alexbchr
Copy link

I just had the exact same issue and doing as this comment said solved it for me: #159 (comment)

@skilbjo
Copy link
Author

skilbjo commented Sep 19, 2024

nice,

workaround:

export DEBUG='dynamodb-local' command

image

rm -R /var/folders/vq/0j4hndgs5ljcvtx59mmnnmb80000gn/T/dynamodb-local

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

No branches or pull requests

2 participants