亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

用Junit測試時出現method initializationError not found ,opening the test class

用Junit測試時出現method initializationError not found ,opening the test class,如何處理

正在回答

3 回答

myEclipse自帶了junit的包,報錯如上圖就是項目中沒有導入這個包,選中某個工程 - Properties - Java bulid path - add library - junit 即可

0 回復 有任何疑惑可以回復我~

方法出現了初始化錯誤沒有創建,是你額test測試類里的方法,看看你有沒有哪里寫錯,或者是寫完沒有保存

1 回復 有任何疑惑可以回復我~

11123

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

用Junit測試時出現method initializationError not found ,opening the test class

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號