This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

java.lang.AbstractMethodError

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to deploy rest service & getting exception on
JdkHttpServerFactory.createHttpServer







Jars used,



any suggestion please?

thanks...
 
Marshal
Posts: 3181
466
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely the jar versions are mismatched resulting in some dependency issues. I used your code with the following jars and had success:
   hk2-api-2.4.0-b25.jar
   hk2-locator-2.4.0-b25.jar
   hk2-utils-2.4.0-b25.jar
   javax.annotation-api-1.2.jar
   javax.inject-2.4.0-b25.jar
   javax.ws.rs-api-2.0.1.jar
   jersey-client-2.9.jar
   jersey-common-2.9.jar
   jersey-container-jdk-http-2.9.jar
   jersey-guava-2.6.jar
   jersey-server-2.9.jar
   validation-api-1.2.jar


 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much....

I was aware its because of Jar versions & tried with different version, but still was finding it to difficult to resolve the issue, which is not the case most of the times...

Thanks a lot for your help.
 
Skool. Stay in. Smartness. Tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic