apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.27k stars 1.15k forks source link

[Bug] [1.5.0] The error message of starting cg-linkismanager caused by the token problem is not user-friendly, it needs to be optimized #5042

Closed gjy1043 closed 5 months ago

gjy1043 commented 6 months ago

Search before asking

Linkis Component

linkis-commons

Steps to reproduce

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.nacos.common.notify.NotifyCenter at com.alibaba.nacos.client.naming.NacosNamingService.init(NacosNamingService.java:92) ~[nacos-client-2.1.0.jar:?] at com.alibaba.nacos.client.naming.NacosNamingService.(NacosNamingService.java:81) ~[nacos-client-2.1.0.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_192] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_192] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_192] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_192] at com.alibaba.nacos.api.naming.NamingFactory.createNamingService(NamingFactory.java:59) ~[nacos-client-2.1.0.jar:?] at com.alibaba.nacos.api.NacosFactory.createNamingService(NacosFactory.java:77) ~[nacos-client-2.1.0.jar:?] at com.alibaba.cloud.nacos.NacosServiceManager.createNewNamingService(NacosServiceManager.java:99) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.9.RELEASE.jar:2.2.9.RELEASE] ... 20 more

Expected behavior

Error information is clear and unambiguous

Your environment

Anything else

No response

Are you willing to submit a PR?

github-actions[bot] commented 6 months ago

:blush: Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive
wForget commented 6 months ago

caused by the token problem

Does this happen when the nacos username and password are configured incorrectly?

wForget commented 6 months ago

Are there more Caused by in the error stack?

peacewong commented 6 months ago

For detailed logs, please refer to stdout. stdout.log