IntelliJ IDEA使用eclipse compiler(ecj)解決lombok編譯問題
1:為什么要使用在idea使用eclipse compiler(ecj)? 因為idea默認使用javac,而javac當在編譯時發現一個編譯錯誤就直接停止編譯了。而ecj支持proceed on errors(出錯時繼續),這樣就能夠全局看到整個項目存在多少問題。 2:切換之后,ecj ...
1:為什么要使用在idea使用eclipse compiler(ecj)? 因為idea默認使用javac,而javac當在編譯時發現一個編譯錯誤就直接停止編譯了。而ecj支持proceed on errors(出錯時繼續),這樣就能夠全局看到整個項目存在多少問題。 2:切換之后,ecj ...