the method getXxx() is undefined for the type XXX

環境 springcloud+lombok+idea2019.1.3 eclipse compiler

啓動spring報錯 2019-07-23 09:38:03.339 WARN 17904 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘XXX’: Unsatisfied dependency expressed through field ‘XXX’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘XXX’: Unsatisfied dependency expressed through field ‘XXX’ the method getXxx() is undefined for the type XXX

之前將編譯器改爲eclipse https://blog.dripstat.com/why-you-should-use-the-eclipse-compiler-in/

solved: idea eclipse編譯器與lombok不適配, 將idea 編譯器改爲javac

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章