用eclipse写的测试项目遇到了这个问题:"The declared package does not match the expected package"

解决方法:

1.Project => Properties => Java Build Path => Source

The declared package does not match the expected package解决办法

2.讲source里面的目录删除,再重新指定目录,就解决了

相关文章: