环境 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
3339

被折叠的 条评论
为什么被折叠?



