开发者

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

开发者 https://www.devze.com 2023-04-05 15:37 出处:网络
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 })

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消