Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed. problem

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to solve the Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed." the content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed."

Use the scene:

The service registers to nacos remote login with the following exception:

12ERROR c.a.n.c.s.SecurityProxy: [com.alibaba.nacos.client.config.security.updater] ERROR c.a.n.c.s.SecurityProxy-[login,156]-[SecurityProxy] login http request failed url: http://127.0.0.1:8848/nacos/v1/auth/users/login, params: {username=nacos}, bodyMap: {password=123@456}, errorMsg: errCode: 100, errMsg: Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed.

It seems to be a serialization problem, it is available on the Internet to say that the version of springboot is wrong, my project here uses version 2.3.5, looking at a lot of modules of the project, so to modify the version number of pom, to modify a lot of code, it does not feel very reliable, and then check it carefully. If the password is also correct, try to configure a simple password (that is, remove the @ symbol from the password), and restart successfully immediately! (# ^. ^

Thank you for reading, the above is the content of "how to solve the Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed." after the study of this article, I believe you on how to solve the Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed. The problem has a deeper understanding, and the specific use situation still needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report