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