STS (Spring Tools Suite) 2.7.2 @RequestMappings View not displaying

余生长醉 提交于 2019-12-06 02:10:34

问题


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 RequestMappings

Returns:

Javadoc content is missing or empty

Question:

How can I populate all @RequestMappings to view all urls mapped in my web application?


回答1:


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.



来源:https://stackoverflow.com/questions/7448718/sts-spring-tools-suite-2-7-2-requestmappings-view-not-displaying

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!