Dariusz Mydlarz Dariusz Mydlarz - 1 year ago 235
Java Question

How to enable Swagger UI? Tomcat, SpringMVC, REST

My configuration is as follow:


<!-- Swagger -->

<!-- Swagger WebJar -->


<beans:bean class="com.mangofactory.swagger.configuration.SpringSwaggerConfig" />

I deploy my application into Tomcat 8.0. I am able to see Swagger JSON data at URI:


But I can't run Swagger UI. What more should I do to run Swagger UI in my project?

Answer Source

I solved my problem by adding swagger-ui resources to


I also added


To pom.xml

Now I can access swagger UI under:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download