Sentinel控制台启动报错:找不到或无法加载主类 .port=8080

wylc123 1年前 ⋅ 646 阅读

使用命令启动Sentinel控制台

java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard.jar

注意:这里要是使用powershell 执行命令,会报错误
错误: 找不到或无法加载主类 .port=8080
应该修改为:

java ‘-Dserver.port=8080’ ‘-Dcsp.sentinel.dashboard.server=localhost:8080’ ‘-Dproject.name=sentinel-dashboard’ -jar sentinel-dashboard.jar

访问localhost:8080
就是sentinel的登陆地址。账户密码都是sentinel


相关文章推荐

全部评论: 0

    我有话说: