環境 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