Package name 'xxx' does not correspond to the file path 'xxx'
经检查发现package名称有问题,我的文件路径名中带中横线,但是package名称中有中横线,将package名称修改之后,这个问题解决。
另外,包名有大写字母的话也会有这个问题,因此,最好在命名包名时使用纯小写英文字母。
总之,这个问题出现的原因就是包名写错了,与实际不符,修改包名即可。
Package name 'xxx' does not correspond to the file path 'xxx'相关推荐
- IntelliJ 提示Package name ‘com‘ does not correspond to the file path ‘com.1002‘
Package name 'com' does not correspond to the file path 'com.1002' groupld 不能出现数字,否则会编译出错
- Package name 'com.cetc52.platform' does not correspond to the file path 'java.com.cetc52.platform'问题
1简介 在<重构 改善既有代码的设计>一书中,我们知道要进行重构,首要前提就是要拥有一个可靠的测试环境,有一个可以自动进行重构的工具,还是需要进行测试.Martin Fowler发现,编写 ...
- idea 导入别人的项目后,显示包的名称错误does not correspond to the file path
在把别人的项目导入idea的过程中,jdk需要重新配置后,发现所有的类里面显示的包都是错的 does not correspond to the file path, 发现包的结构是正确的,但是显示引 ...
- Package name does not correspond to the file path......
这两天下载了一个别人的开源项目, 打算看一下里面的代码学习一番, 但是, as一直报红线提示, 虽然编译运行没问题, 但是, 看着不爽啊....就试着解决, 但是, 常用的alt+enter组合并没有 ...
- Package name does not correspond to the file path (IntelliJ IDEA)
src->New->Package 转载于:https://www.cnblogs.com/yaos/p/7092726.html
- 【错误记录】Android NDK 错误排查记录 ( Could not get version from cmake.dir path ‘xxx\cmake\3.6.4111459‘. )
文章目录 一. 报错信息 二. 问题分析 三. 解决方案 一. 报错信息 报错信息 : Executing tasks: [:app:assembleDebug] in project D:\002_ ...
- xxx is not in the sudoers file.This incident will be reported.的解决方法
xxx is not in the sudoers file.This incident will be reported.的解决方法 参考文章: (1)xxx is not in the sudoe ...
- java.nio.file.FileSystemException: xxx: Too many open files
前言 linux Redhat 7.0 spring boot 2.0.x jdk1.8 长时间运行程序后,出现java.nio.file.FileSystemException: xxx: Too ...
- 【Linux】XXX is not in the sudoers file …… 的解决方案
XXX is not in the sudoers file -- 网上资料都告诉大家,解决方法是改root ALL=(ALL) ALL那里,可能有的新手看不懂,这里解释一下. 在终端执行sudo命令 ...
最新文章
- 我想说:mysql 的 join 真的很弱
- MaxCompute跨Region数据迁移指导手册
- wpf 锁定计算机vb,wpf 窗体自动关闭
- 开发实践 | Android IP查询实例(代码类)
- poj3083 Children of the Candy Corn 深搜+广搜
- 科学计算机的用途,计算机最主要的用途之一就是科学计算,科学计算可分为两类...
- Pandas to_datetime
- 二维数组求最小值_求一列中满足条件的最大最小值
- 鸿蒙系统全屋定制,华为推出鸿蒙 1+2+N 全屋智能、智慧屏 V 系列,还有一款陪伴机器人小艺精灵...
- CMMI3认证过程总结
- ax200蓝牙驱动linux,AX200蓝牙驱动
- MATLAB模糊控制器
- 屏幕录像专家v2016破解版
- 思科路由器——静态路由超级详细
- 弘辽科技:如何书写淘宝直通车创意标题才能带来更多的流量?
- 提取小米手机的备份数据
- 亚马逊FBA相关术语介绍
- LTE中物理资源块的进一步认识
- PX4 Autopilot源码分析 - 代码下载
- java ognl表达式_[JavaWeb基础] 029.OGNL表达式介绍
热门文章
- 手把手教你用图灵机器人做微信公众号自动回复助手
- 解决复制项目或者svn下载项目后项目名称不改变的问题:org.eclipse.wst.common.component
- 帮我看看怎么回事的错误
- 数据计量单位的换算关系
- 在 Android* 商务应用中实施地图和地理围栏特性
- 使用方法论报告第 5 部分:DDR4 IP 校准后硬件故障,指示存在时序问题,但时序报告中无任何违例
- java两个不同对象的list合并(根据某条件)
- 混在中国,财富保值的必要性,读《金砖四国之梦:通向2050之路》有感
- switchhosts工具
- c#12星座速配代码_程序员12星座性格分析,猜猜哪个星座最适合IT行业?