sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

IDEA提示cannot find declaration to go to 解决方法 清理IEDA缓存 File→Invalidate Caches /Restart

解决:

方法一:

在这里插入图片描述
点击source root

方法二:

在这里插入图片描述

清理缓存,重启IDEA,成功!

说明一点:

在这里插入图片描述
做完方法一,现在,你已经令你的项目javaWebBlog01为资源根目录了,那么form表单中action的路径以 / 开头即可 ,表示从根目录开始,一步一步到你的目标文件,其他的不用考虑太多。

https://blog.csdn.net/qq_45479404/article/details/107570085
posted on 2022-03-23 12:53  sunny123456  阅读(540)  评论(0编辑  收藏  举报