Eclipse中使用git提交代码,报错Testng 运行Cannot find class in classpath的解决方案

一、查找原因方式

1.点击Project——>Clear...——>Build Automatically

2.查看问题

 

二、报错因素

1.提交.xlsx文件

2.提交时,.xlsx文件被打开

 

三、解决方案

1.关闭此.xlsx文件以及删除新生成的xlsx文件

2.再次pull以及提交

posted @ 2017-11-02 14:49  Sunny*  阅读(1308)  评论(0编辑  收藏  举报