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

springmvc 4.1.9.RELEASE can't work No operations defined in spec! #55

Open
smallyaohailu opened this issue Oct 3, 2018 · 1 comment
Labels

Comments

@smallyaohailu
Copy link

smallyaohailu commented Oct 3, 2018

http://localhost:8080/jeesite/v2/api-docs
http://localhost:8080/jeesite/swagger-ui.html

all url ok,but notice below:

No operations defined in spec!

{"swagger":"2.0","info":{"description":"Swagger在线使用教程","version":"1.0.1","title":"JeeSite工作室 Swagger教程","termsOfService":"http://www.jeesite.com","contact":{"name":"长春叭哥","url":"http://www.jeesite.com","email":"admin@chinadays.cn"},"license":{"name":"LICENSE","url":"LICENSE URL"}},"host":"localhost:8080","basePath":"/jeesite"}

@dilipkrish
Copy link
Member

Most likely your configuration has multiple application contexts. Do you by any chance have @EnableWebMvc anywhere in the application?

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

No branches or pull requests

2 participants