Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The swagger-ui returns text/plain instead of html #13

Open
sz4b0lcs opened this issue Oct 23, 2014 · 2 comments
Open

The swagger-ui returns text/plain instead of html #13

sz4b0lcs opened this issue Oct 23, 2014 · 2 comments

Comments

@sz4b0lcs
Copy link

When I make the request from browser to http://localhost:8080/sdoc.jsp I get the response in text/plain.

@adrianbk
Copy link
Owner

More than likely your web server is not treating it as a jsp. Have you enabled a jsp view resolver in spring

@sz4b0lcs
Copy link
Author

I have embedded Tomcat running. My app is a REST api.
As I read jsp is not working with embeded Tomcat in Spring Boot. Is this correct?

If so, what can I do to get it working?

Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants