Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 235
Luc Laverdure Avatar asked Sep 16 '11 18:09

Luc Laverdure


1 Answers

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.

like image 90
Luc Laverdure Avatar answered Nov 15 '22 11:11

Luc Laverdure