IDEA--java程序包xx.xx不存在的原因和解决方案
出现程序包不存在的根本原因是target包中找不到那个target包。

没有target包的话,点击Built->Rebuild Project 进行重新编译。
如果还是出现target包的情况,是因为java包中没有main方法,所有需要主动编译。点击compile。


出现程序包不存在的根本原因是target包中找不到那个target包。

没有target包的话,点击Built->Rebuild Project 进行重新编译。
如果还是出现target包的情况,是因为java包中没有main方法,所有需要主动编译。点击compile。

