Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.AbstractMethodError

 
Prabjhot Singh
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...
 
Ron McLeod
Saloon Keeper
Posts: 1263
131
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!