BB Push SDK自带的sample-app可以不带app.id运行吗?
我正在尝试部署 PushSDK 附带的示例应用程序 war 文件。但无法成功部署应用程序。
到目前为止遵循的步骤
1) 我能够配置 PushSDK .properties
log4j.xml
但没有更改 sample-app-context.xml
中 ${sampleapp.appid}
的值>。
2)然后使用cmd
制作war文件
3)部署到服务器上。
部署期间出现错误。
Invalid bean definition with name 'registerListeners' defined in class path resource [sample-app-context.xml]: Could not resolve placeholder 'sampleapp.appid'
尝试在链接上注册,但未成功
I am trying to deploy the sample-app war file that comes with PushSDK.But was not able to deploy the application successfully.
Steps followed till now
1) I was able to configure PushSDK.properties
log4j.xml
but didn't change value of ${sampleapp.appid}
in sample-app-context.xml
.
2)then made the war file using cmd
3) Deployed on the server.
during deployment an error was coming.
Invalid bean definition with name 'registerListeners' defined in class path resource [sample-app-context.xml]: Could not resolve placeholder 'sampleapp.appid'
Tried to register on link but was unsuccessful
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚开始使用 Push SDK,但根据我所读到的内容,我得出的结论是,您至少需要完成开发注册,然后才能运行示例代码;除非您使用自己的 BES。
I have just started down the path of using the Push SDK, but from what I've read I conclude that you need to get your development registration completed at least before you can run the sample code; unles you're using your own BES.