場景:在進行單元測試的時候,pom.xml中加入架包。powermock出現這種問題。eclipse
是eclipse的問題,打開eclipse,我忽略掉了錯誤提示,這纔沒有出現"The word is not correctly spelled"的錯誤提示。單元測試
解決方法:在eclipse下的Window--Preference輸入spell,而後把第一個複選框「Enable spell checking「給去掉就可測試