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

配置dashboard参数,接口无法调通问题 #38

Closed
Never12581 opened this issue Aug 5, 2018 · 2 comments
Closed

配置dashboard参数,接口无法调通问题 #38

Never12581 opened this issue Aug 5, 2018 · 2 comments
Labels
kind/bug Category issues or prs related to bug.
Milestone

Comments

@Never12581
Copy link

Issue Description

Type: bug report

Describe what happened (or what feature you want)

我配置了dashboard的参数,希望能够看到请求的可视化。此时调用其他服务的接口失败。
失败直接原因是:NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.Constants
出错行:master分支 com.alibaba.csp.sentinel.context.ContextUtil 的 113行 Constants.ROOT.addChild(node);

#33 33 ## Describe what you expected to happen
希望在配置了 dashboard 参数后能够调通接口(配置前,能够调通接口)

How to reproduce it (as minimally and precisely as possible)

1、引入sentinel-dubbo-adapter,sentinel-transport-simple-http,dubbo
2、配置dashboard的参数 ##便可复现

#33 ## Tell us your environment
dubbo.version 2.6.0
sentinel.version 0.1.1-SNAPSHOT or 0.1.0
csp.sentinel.dashboard.server=http://localhost:8080
csp.sentinel.api.port=8878
csp.sentinel.heartbeat.interval.ms=20
csp.sentinel.metric.file.single.size=52428800
csp.sentinel.metric.file.total.count=6

Anything else we need to know?

本人新手,希望验证这个issue的时候,大神先自己直接配置一遍走一遍,也许是我本身配置的问题。

@zhaoxp1
Copy link

zhaoxp1 commented Aug 5, 2018

可以使用JDK1.8试试,我这样配置没问题,不过csp.sentinel.dashboard.server=http://localhost:8080要改成csp.sentinel.dashboard.server=localhost:8080

@Never12581
Copy link
Author

谢谢是我配置的问题

@sczyh30 sczyh30 added the kind/bug Category issues or prs related to bug. label Aug 6, 2018
sczyh30 added a commit that referenced this issue Aug 6, 2018
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
@sczyh30 sczyh30 added this to the 0.1.1 milestone Aug 6, 2018
sczyh30 added a commit that referenced this issue Aug 8, 2018
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
Arlmls pushed a commit to Arlmls/Sentinel that referenced this issue Jan 8, 2019
…ddresses

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
CST11021 pushed a commit to CST11021/Sentinel that referenced this issue Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Category issues or prs related to bug.
Projects
None yet
Development

No branches or pull requests

3 participants