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。所以不是编译器无法识别,就是代码路径不对。
突然出现这个错误:Package name does not correspond to the file path
明明路径没有错,从VCS上更新了代码,也仍然报错。
检查后发现:需要强制更新代码。因为有人把文件夹的名字从 Listener改为了 listener。所以不是编译器无法识别,就是代码路径不对。
相关文章推荐
- 2017.7.10 Package name does not correspond to the file path
- Package name does not correspond to the file path......
- AS-package name does not correspond to the file path
- java.lang.UnsatisfiedLinkError,(A file or directory in the path name does not exist.
- linux下安装PHP的CI框架,出现Your view folder path does not appear to be set correctly. Please open the following file and correct this: i
- cannot be resolved to absolute file path because it does not reside in the file system
- yii2安装后报The file or directory to be published does not exist:path/vendor/bower/jquery/dist的问题
- cannot be resolved to absolute file path because it does not reside in the file system
- maven构建 出错:cannot be resolved to absolute file path because it does not reside in the file system
- cannot be resolved to absolute file path because it does not reside in the file system : jar:file:/D
- Get full pathname to the file
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK
- com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK
- The project: nameXXX which is referenced by the classpath, does not exist解决方法?
- Unity3d 提示 "The scripts file name does not match the name of the class defined in the script!"的解决办法
- 关于“Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.”问题的解决
- 安装Yii碰到“the file or directory to be published does not exist bower/jquery/dist”
- Fixing the security exception : "class /"" + packageName + "/" does not match trust level of other classes in the same package"
- Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK(转
- com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK.