1、访问如下地址:
下载代码后在Idea中打开
2、在Idea中执行如下命令:
spring-boot:run
最后报错了,报错如下:
[INFO] [2/4] Fetching packages...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] error An unexpected error occurred: "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.7.tgz: connect ETIMEDOUT 104.16.26.34:443".
[INFO] error An unexpected error occurred: "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.7.tgz: connect ETIMEDOUT 104.16.26.34:443".info If you think this is a bug, please open a bug report with the information provided in "D:\\soft\\rocketmq-dashboard-master\\frontend\\yarn-error.log".
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:02 min
[INFO] Finished at: 2025-01-08T18:18:42+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn install) on project rocketmq-dashboard: Failed to run task: 'yarn install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Process finished with exit code 1
继续看下怎么处理
后面有空可以参考:【源码编译并安装RocketMQ Dashboard】_rocketmq dashboard 怎么编译-CSDN博客
或者也可以参考:
liux 安装 RocketMQ Dashboard_linux rocketmq dashboard-CSDN博客
3、换个思路,有个现成的jar包能用
参考链接:https://download.csdn.net/download/weixin_54402381/89819541
执行如下命令:
Java -jar rocketmq-dashboard-2.0.1.jar
访问
查看消息