Skip to content
Advertisement

Tag: httpserver

AbstractMethodError when creating JdkHttpServer for JAX-RS

I’m trying to create a Java server for a REST API and following this question I used jersey’s JdkHttpServer. I imported the necessary jars (from here), but when I start the server the following error appears: My code is the following: And in PokerResource I’ve got all the paths for the API. Am I missing some import or do I

Advertisement