Error during generated code invocation com.intellij.debugger.engine.evaluation.EvaluateException: Method threw 'java.lang.NullPointerException' exception.

上来一张图,

找了半天原因,最后发现是接口注入的时候忘记加 @Autowired

 

 

 加上之后,重新启动项目就可以了。

 

posted @ 2021-11-02 10:20  Journey&Flower  阅读(1991)  评论(0)    收藏  举报