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

NoClassDefFoundError when calling /word endpoint #38

Open
WrongNicholas opened this issue Jan 9, 2025 · 0 comments
Open

NoClassDefFoundError when calling /word endpoint #38

WrongNicholas opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@WrongNicholas
Copy link

Returning a server-side error instead of the expected response.

Stack trace:
java.lang.NoClassDefFoundError: Could not initialize class play.api.libs.json.Writes$
at Main$.getWord(Main.scala:129)
at Main$.$anonfun$new$18(Main.scala:99)
at cask.router.Result$Success.map(Result.scala:21)
at cask.router.Result$Success.map(Result.scala:20)
at Main$.$anonfun$new$10(Main.scala:99)
at cask.router.EntryPoint.invoke(EntryPoint.scala:46)
at cask.router.Decorator$.$anonfun$invoke$2(Decorators.scala:58)
at cask.endpoints.WebEndpoint.wrapFunction(WebEndpoints.scala:14)
at cask.endpoints.WebEndpoint.wrapFunction$(WebEndpoints.scala:12)
at cask.endpoints.get.wrapFunction(WebEndpoints.scala:31)
at cask.router.Decorator$.invoke(Decorators.scala:52)
at cask.main.Main$DefaultHandler.handleRequest(Main.scala:99)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)

@RazorSh4rk RazorSh4rk self-assigned this Jan 10, 2025
@RazorSh4rk RazorSh4rk added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants