You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2017-06-29 09:01:42.715 ERROR 1110 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method WxMaService in com.github.binarywang.demo.wechat.config.WxMaConfiguration required a bean of type 'cn.binarywang.wx.miniapp.config.WxMaConfig' that could not be found.
Action:
Consider defining a bean of type 'cn.binarywang.wx.miniapp.config.WxMaConfig' in your configuration.
Process finished with exit code 1
Activity
[-]小程序也spring-boot-starter-data-rest冲突[/-][+]小程序和spring-boot-starter-data-rest冲突[/+]binarywang commentedon Jun 29, 2017
你这是Demo的问题吧,下次尽量到对应Demo项目下讨论吧,我看了你的问题,明显后面给出了提示的吧?Action部分
qiaolb commentedon Jun 29, 2017
我是在我的项目中使用
weixin-java-miniapp,版本2.7.0。因为和spring data REST冲突,所以我在Demo中确认是否有这个问题。根据提示,应该是
WxMaConfig没有定义Bean,但实际是有的。而且奇怪的是如果我去掉
spring-boot-starter-data-rest的依赖就没有错误了。binarywang commentedon Jun 29, 2017
可能是spring-boot-starter-data-rest里有什么配置把原有配置给覆盖了。
你是用debug模式检查下吧。
涉及到spring boot的相关问题,暂时先关闭了,如果需要继续讨论在demo里新开issue讨论吧
[-]小程序和spring-boot-starter-data-rest冲突[/-][+]小程序demo和spring-boot-starter-data-rest冲突[/+]