java.lang.NoClassDefFoundError: Could not initialize class cask.package$
at Main$.redir(Main.scala:48)
at Main$.$anonfun$new$43(Main.scala:47)
at cask.router.Result$Success.map(Result.scala:21)
at cask.router.Result$Success.map(Result.scala:20)
at Main$.$anonfun$new$42(Main.scala:47)
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)
I get this error when accessing the API