STS(Spring Tools Suite)2.7.2 @RequestMappings视图不显示 [英] STS (Spring Tools Suite) 2.7.2 @RequestMappings View not displaying

查看:2678
本文介绍了STS(Spring Tools Suite)2.7.2 @RequestMappings视图不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Spring Tools Suite v2.7.2

Spring Tools Suite v2.7.2

Spring Framework v3.0.5

Spring Framework v3.0.5

@RequestMapping( value={ "/en/page", "/fr/page" }, method = { RequestMethod.POST })



在STS中重现问题的步骤:




  • [Menu]窗口 - >显示视图 - > @RequestMappings

    Steps to reproduce issue in STS:

    • [Menu] Window -> Show View -> @RequestMappings

      [Project]右键 - >弹出工具 - >显示请求映射

      [Project] Right Click -> Spring Tools -> Show RequestMappings

      Javadoc内容缺失或为空

      Javadoc content is missing or empty

      如何填充所有@RequestMappings以查看在我的web应用程序中映射的所有url?

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

      推荐答案

      您必须:


      • 右键单击您的项目

      • 弹簧工具

      • 添加Roo项目自然

      然后:


      • 右键单击您的项目

      • 弹簧工具

      • 显示@RequestMappings

      似乎代码必须在映射可以在IDE中输出之前编译,

      It seems that the code must also compile before the mappings can be output in the IDE,

      干杯。

      这篇关于STS(Spring Tools Suite)2.7.2 @RequestMappings视图不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆