IntelliJ IDEA Cannot find declaration to go to
2014-06-05 23:01
627 查看
最近在用IntelliJ IDEA开发一个微服务的项目的时候,从git clone了代码, 再用IntelliJ IDEA导入项目以后。项目里好多方法,类和属性都无法转到定义或者声明处,无论是Ctrl+B 还是Ctrl+鼠标左键都不好使。 百度了好久没有方案,后来还是在stackoverflow找到一个类似的问题(它的是Android Studio出现了这种问题)。
这个问题找了半天,后来终于找到问题所在,原因是你的工程里面可能存在某个或者某些文件夹的结构发生了变化。
解决方案:
1.在file里close工程,
然后重新导入这个工程, 最后你再试试就会发现 这个功能已经好使了! 既然已经解决, 那就愉快的coding吧。 AV8D~、
这个问题找了半天,后来终于找到问题所在,原因是你的工程里面可能存在某个或者某些文件夹的结构发生了变化。
解决方案:
1.在file里close工程,
然后重新导入这个工程, 最后你再试试就会发现 这个功能已经好使了! 既然已经解决, 那就愉快的coding吧。 AV8D~、
相关文章推荐
- Android Studio 出现 idea Cannot find declaration to go to
- idea Cannot find declaration to go to问题的解决
- Intellij IDEA ,按Ctrl+左键,不能进入类或方法的【解决办法】,提示Cannot find declaration to go to
- pycharm跳转到定义和声明,出现的问题:Cannot find declaration to go to
- “Cannot find declaration to go to”“cannot find settings.jar”“gradle:download https://….. ”
- pycharm Cannot find declaration to go to
- Android studio import module Cannot find declaration to go to
- pycharm Cannot find declaration to goto----解决方案
- [pycharm] cannot find declaration to go to
- [pycharm] cannot find declaration to go to
- Ubuntu下安装javaIDE IntellliJIDEA9.0.3时提示ERROR: cannot start IntelliJ IDEA. No JDK found to run IDEA. Please validate either IDEA_J
- 配置spring文件时项目启动不了--cvc-elt.1: Cannot find the declaration of element 'beans'.
- 【Python学习笔记(一)】:用idea安装第三方库时提示“Unable to find vcvarsall.bat ”
- Cannot find the declaration of element 'beans'. 的解决方法
- [网易博客]Eclipse to IntelliJ IDEA
- liteide go: cannot find GOROOT directory:错误解决
- From Eclipse to intellij idea 14
- Cannot find protocol declaration for 'xxDelegate'
- iOS集成支付宝遇到的问题一:Cannot find interface declarationfor'NSObject', superclass of'Base64'
- How to see JavaDoc in IntelliJ IDEA?