user4798115 February 2016

Jax-rs Swagger integration - fetching resource list: http://localhost:8080/JAXRS-Example/rest/api-docs

I am trying to integrate JAX-RS and Swagger together. While doing that I see following error is coming. After spending a lots of hours still I am not able to resolve it. Looking quick help from your end.

enter image description here

I've attached my whole source code in the git repository: https://github.com/JavaNeed/JAXRS-Example. Please try to resolve this error.

Answers


Sacky San March 2016

I faced similar issues integrating swagger and jax-rs. I finally got them resolved using jersey servlet implementation. See if following project helps you.

https://github.com/sanketsw/jax_rs_REST_Example

Also following link has the details of how to get JSON and YAML specification from JAX-RS API

https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-Jersey-2.X-Project-Setup-1.5

Post Status

Asked in February 2016
Viewed 1,611 times
Voted 11
Answered 1 times

Search




Leave an answer