binarywang/weixin-java-mp-demo

Consider defining a bean of type 'me.chanjar.weixin.mp.api.WxMpService' in your configuration.

artFollower opened this issue · 2 comments

Description:

Parameter 1 of constructor in com.ruoyi.wx.controller.WxUserController required a bean of type 'me.chanjar.weixin.mp.api.WxMpService' that could not be found.

Action:

Consider defining a bean of type 'me.chanjar.weixin.mp.api.WxMpService' in your configuration.

先把demo跑起来,然后再看为什么你自己的项目会报错

好了,是lombok 只引入到模块,没有在整个项目里面引入导致的