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

STS 3.9.1: RequestMapping View shows all the Resource URL with the same / value #227

manueljordan opened this Issue Dec 14, 2017 · 4 comments


None yet
3 participants

manueljordan commented Dec 14, 2017

Hello STS developers

I have read:

Now I am working with:

Spring Tool Suite 

Version: 3.9.1.RELEASE
Build Id: 201710111105
Platform: Eclipse Oxygen.1a (4.7.1a)

Thus for a Spring Framework Web Application working with Gradle through multi-modules, for a module named web-29-controller, right click -> Spring Tools -> Add Spring Project Nature

For that module I have:

public class RequestMappingsViewConfig {

	public String requestMappingsView(){
		throw new RuntimeException("This @Configuration with @Bean NEVER must be created in runtime");


Where @RequestMappingsViewProfile applies to the request-mappings-view profile

Thus the following is mandatory:

  • web-29-controller, right click -> Properties

and then

First Tab

Third Tab

Second Tab

RequestMapping View

Why according with the previous figure all the Resource URL have the / value?
For the selected item I expect see /locale/changelocale, it according the following code

public class LocaleController {


	 * Inform the new current locale established by the user.
	 * @param model for internal view purposes
	 * @return view location
	public String changeLocale(Model model){


Not sure what is wrong or missing


This comment has been minimized.


martinlippert commented Dec 19, 2017

Hey @manueljordan can you attach a sample project?


This comment has been minimized.

manueljordan commented Mar 24, 2018

Hello @martinlippert

Sorry by the huge delay, the project sample is here: sts-rmw.

I share now the following experience in STS version 3.9.2 and Spring Framework version 5.0.4, below the situation:

Root and child project with Spring Nature

Scanned the @Configuration classes

For the sts-rmw-spring project opening the @RequestMappings view




Solution Clean and Build Project

Thus appears the following


Problem: all the Resource URL have /


This comment has been minimized.


martinlippert commented Apr 24, 2018

Thanks a lot for the detailed bug report and the sample project, that helped a lot to reproduce and fix this issue. Very much appreciated. Debugged this today and fixed the issue. Should be up tomorrow in the nightly distribution builds as well as published as part of STS 3.9.5.


This comment has been minimized.

manueljordan commented Apr 24, 2018

Thanks to you for your valuable, quick and polite support ... I enjoy work in this IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment