• Post Reply Bookmark Topic Watch Topic
  • New Topic

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: 4087
98
  • 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: 192
11
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!