-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Description
我在使用小程序接口时,引入spring-boot-starter-data-rest会导致启动错误。测试方法,可以在weixin-java-miniapp-demo的pom.xml中增加:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
</dependency>
错误如下:
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
在公众号中无此问题。
请看看怎么回事,谢谢!
Metadata
Metadata
Assignees
Labels
No labels