您的位置:首页 > 其它

2017.7.10 Package name does not correspond to the file path

2017-07-10 13:56 597 查看
参考来自:https://stackoverflow.com/questions/26440623/package-name-does-not-correspond-to-the-file-path-intellij



突然出现这个错误:Package name does not correspond to the file path

明明路径没有错,从VCS上更新了代码,也仍然报错。

检查后发现:需要强制更新代码。因为有人把文件夹的名字从 Listener改为了 listener。所以不是编译器无法识别,就是代码路径不对。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐