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

在idea中可以正常运行,打包后使用java -jar启动提示Bot verify info [xxx] registration failed or start failed错误 #735

Closed
keithfeng425 opened this issue Aug 18, 2023 · 4 comments
Assignees
Labels
组件:mirai 与mirai组件相关

Comments

@keithfeng425
Copy link

版本号

v3.2.0

附加版本

No response

涉及的编程语言

Java

项目构建工具

Maven

涉及的组件库

mirai (QQ)

问题描述

在idea中运行毫无问题:
image

通过maven进行package后,独立运行jar包出现如下报错:
image
image

请问这是什么原因导致的呢?

复现方式

导入的jar包为fix-protocol-version-1.10.0.mirai2.jar,使用签名服务器为unidbg-fetch-qsign-1.1.7,使用maven打包后,通过java -jar的方式运行

相关日志

No response

其他补充

No response

@keithfeng425 keithfeng425 added the bug? 疑似为bug、存在普遍性问题、待确认 label Aug 18, 2023
@ForliyScarlet ForliyScarlet added the 等待确认 等待负责人员的确认 label Aug 18, 2023
@ForteScarlet
Copy link
Member

最后一张图最下面信息已经提示:Bot已经被注册过了。检查是否存在重复的bot信息被注册等情况

@ForteScarlet ForteScarlet added 等待反馈 等待发起者的反馈 组件:mirai 与mirai组件相关 and removed bug? 疑似为bug、存在普遍性问题、待确认 等待确认 等待负责人员的确认 labels Aug 18, 2023
@keithfeng425
Copy link
Author

可以请问一下什么样的情况下会出现重复注册的情况吗?因为在Idea里直接运行是没有问题的

@ForliyScarlet ForliyScarlet added 等待确认 等待负责人员的确认 and removed 等待反馈 等待发起者的反馈 labels Aug 18, 2023
@ForteScarlet
Copy link
Member

可以请问一下什么样的情况下会出现重复注册的情况吗?因为在Idea里直接运行是没有问题的

比如resources中存在两个账号相同的配置文件、或者即加载了配置文件,又在代码中手动注册账号等等。

@keithfeng425
Copy link
Author

好的,我定位到问题所在了,十分感谢您的解答

@ForliyScarlet ForliyScarlet removed the 等待确认 等待负责人员的确认 label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
组件:mirai 与mirai组件相关
Projects
None yet
Development

No branches or pull requests

3 participants