今天在做Ant/Xdoclet輔助生成hibernate實體映射文件時,eclipse出現了極其讓我郁悶的錯誤,"The word is not correctly spelled" 。然后我繼續將代碼執行下去,居然執行沒有問題,還真的生成了實體映射文件。原來是eclipse的問題,打開eclipse,我忽略掉了錯誤提示,這才沒有出現"The word is not correctly spelled"的錯誤提示。
操作步驟:在eclipse下的Window--Preference輸入spell,然后把第一個復選框“Enable spell checking“給去掉就可以了。
