Currently Using:
Spring Tools Suite v2.7.2
Spring Framework v3.0.5
Sample Code in a controller:
@RequestMapping( value={ "/en/page", "/fr/page" }, method = { RequestMethod.POST })
Steps to reproduce issue in STS:
[Menu] Window -> Show View -> @RequestMappings
[Project] Right Click -> Spring Tools -> Show RequestM开发者_如何学Pythonappings
Returns:
Javadoc content is missing or empty
Question:
How can I populate all @RequestMappings to view all urls mapped in my web application?
To resolve, you must:
- Right click your project
- Spring Tools
- Add Roo Project Nature
Then:
- Right click your project
- Spring Tools
- Show @RequestMappings
It seems that the code must also compile before the mappings can be output in the IDE,
Cheers.
精彩评论