今天hibernate實體映射文件時,eclipse出現了極其讓我郁悶的錯誤,"The word is not correctly spelled" 我討教過一些朋友以后,還是沒有得到答案,我就納悶了。然后我繼續將代碼執行下去,居然執行沒有問題,還真的生成了實體映射文件,這下問題的根源就找到了!是eclipse的問題,打開eclipse,我忽略掉了錯誤提示,這才沒有出現"The word is not correctly spelled"的錯誤提示。
操作步驟:在eclipse下的Window--Preference輸入spell,然后把第一個復選框“Enable spell checking“給去掉就可