• 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

REST WebService Jar files and Server issues  RSS feed

 
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying below example
https://www.tutorialspoint.com/restful/restful_first_application.htm

when i added project to tomcat 8.5 in eclipse and trying to start tomcat i am getting below error

Server Tomcat v8.5 Server at localhost failed to start.
are these below 3 same jar or different jars?

\jaxrs-ri-2.17\jaxrs-ri\api
\jaxrs-ri-2.17\jaxrs-ri\ext
\jaxrs-ri-2.17\jaxrs-ri\lib
jaxrs-ri seems jar right which has api and ext and lib within that?

i downloaded that and added from below site
http://www.java2s.com/Code/Jar/j/Downloadjaxrsapijar.htm
it seems to have 2.0 version not 2.17 as mentioned in site?
where i can get exact version jar?
where i can see exact error trace of tomcat?

please advise
 
Saloon Keeper
Posts: 5046
134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't download stuff from random sites. Like all JEE APIs, JAX-RS is available on Github. The current version is 2.26 if memory serves. The implementation is called Jersey.
 
sai rama krishna
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i searched below link

https://github.com/jax-rs/api

can you please post exact link to get jars. What all jars i need? any end to end examples on web services?
 
Ranch Hand
Posts: 205
13
Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sai rama krishna wrote: any end to end examples on web services?



There's a youtube playlist from javabrains Developing RESTful APIs with JAX-RS that I really liked:

https://www.youtube.com/user/koushks
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!