开发者社区 问答 正文

使用“ Ctrl +空格键”时不显示@RequestMapping注释

使用“ Ctrl +空格键”时不显示@RequestMapping注释。我用的STS-3 IDE LocationController.java类

pom.xml

展开
收起
小六码奴 2019-10-14 16:33:26 5459 分享 版权
1 条回答
写回答
取消 提交回答
  • 你的jar没有下载或不在构建路径中(eclipse中的maven dependencies jar)选中所有spring boot jar都已下载并且这些jar在构建路径中。 右键单击项目更新你的maven项目,选择脱机并强制更新选项复选框。并检查 org.springframework.boot spring-boot-starter-parent 2.1.1.RELEASE

    2019-10-14 16:38:09
    赞同 展开评论
问答分类:
问答地址: