Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return value of "me.chanjar.weixin.cp.config.impl.WxCpRedissonConfigImpl.getCorpId()" is null #22

Open
CapitaineNemo opened this issue Nov 1, 2022 · 3 comments

Comments

@CapitaineNemo
Copy link

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxCpConfiguration': Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke "String.concat(String)" because the return value of "me.chanjar.weixin.cp.config.impl.WxCpRedissonConfigImpl.getCorpId()" is null
下面是配置CorpId的地方,的确有报有问题的地方,但是根据文档也没有什么问题。

9b1586fd037484f1ac4c2bea6a44355

@binarywang
Copy link
Owner

确定配置的位置都是正确的?

@CapitaineNemo
Copy link
Author

确定配置的位置都是正确的?

我其实并不确定,能帮我看看我我配置的是否正确吗?我理解在只需要在yml里面配置就好了。这个报错说明没有成功取到CorpID的值。我只需要配置一个应用(实例)。

屏幕截图 2022-11-11 171327

@binarywang
Copy link
Owner

你要对照类和配置文件分析下,看是否是不匹配?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants