项目启动错误

来源:11-9 生成TRTC签名字符串

就叫香菜算了

2021-12-19

错误如下:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'appid'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: "wx4cb8e9621950da45"

http://img.mukewang.com/szimg/61bf2dc9091daeb806350104.jpgappid 为Integer时启动不成功,但是如果改成string的话TLSSigAPIv2里的很多东西会跟着错 都要改吗?

写回答

1回答

神思者

2021-12-19

好看清楚是trtc的AppID

0
2
就叫香菜算了
噢噢知道了 搞反了 老师提供的appip是小程序的appid
2021-12-19
共2条回复

SpringBoot 在线协同办公小程序开发 全栈式项目实战

未来趋势型业务 + 前后端综合技术栈 + 惊艳的细节打磨

1798 学习 · 1915 问题

查看课程