Nacos serialize for class [com.alibaba.nacos.common.http.HttpRestResult] failed.

Dr_啵 2021-04-07 18:09:10
Nacos


使用场景:

服务注册到nacos远程登录,出现以下异常:

12:13:41.342 [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.

看着是序列化的问题,网上有提供有说springboot版本不对的,我这边的项目用的是2.3.5版本,看着项目的模块蛮多的,所以要修改pom的版本号,要修改很多一些代码,感觉不是很靠谱,然后再仔细检查一下。密码也对的情况下,配置一个简单的密码试试(也就是把密码的@符号去掉),重启立马成功!(#^.^#)

版权声明
本文为[Dr_啵]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/1156250/blog/5011432

  1. 01_Nginx下载安装
  2. Spring Boot + Vue3 前后端分离 实战wiki知识库系统
  3. 01_ Download and install nginx
  4. Spring boot + vue3 front end and back end separation practical wiki knowledge base system
  5. vue实现tab选项卡
  6. 【vue】v-for倒序显示/JSON数据倒序
  7. 【vue】三种获取input值的写法
  8. 【vue】class、style的用法
  9. 「开源免费」基于Vue和Quasar的前端SPA项目crudapi后台管理系统实战之动态表单设计器(五)
  10. VSLAM前端:双目极线搜索匹配
  11. VSLAM前端:金字塔光流跟踪算法
  12. Vue realizes tab
  13. VSLAM前端:图像特征提取
  14. [Vue] V-for reverse display / JSON data reverse
  15. 独家对话阿里云函数计算负责人不瞋:你所不知道的 Serverless
  16. Three ways to get input value
  17. The usage of class and style
  18. "Open source and free" dynamic form designer of crudapi background management system of front end spa project based on Vue and Quasar (5)
  19. VSLAM front end: binocular epipolar search matching
  20. VSLAM front end: Pyramid optical flow tracking algorithm
  21. VSLAM front end: image feature extraction
  22. Exclusive dialogue with the person in charge of Alibaba cloud function computing: what you don't know about serverless
  23. 「开源免费」基于Vue和Quasar的前端SPA项目crudapi后台管理系统实战之序列号自定义组件(四)
  24. "Open source and free" serial number customization component of crudapi background management system of front end spa project based on Vue and Quasar (4)
  25. JavaScript 相似度排序
  26. Springboot项目搭建(前端到数据库,超详细)
  27. Less than 150 lines of code to write a python version of the snake
  28. 02_Nginx部署服务
  29. vue 快速入门 系列 —— vue 的基础应用(上)
  30. JavaScript similarity ranking
  31. 基于Vue和Quasar的前端SPA项目crudapi后台管理系统实战之布局菜单嵌套路由(三)
  32. Springboot project construction (front end to database, super detailed)
  33. 02_ Nginx Deployment Services
  34. vue 快速入门 系列 —— vue 的基础应用(上)
  35. Vue quick start series basic application of Vue
  36. Layout menu nested routing of front end spa project crudapi background management system based on Vue and Quasar (3)
  37. Vue quick start series basic application of Vue
  38. 一个好用的Visual Studio Code扩展 - Live Server,适用于前端小工具开发
  39. 基于Vue和Quasar的前端SPA项目实战之用户登录(二)
  40. css常用选择器总结
  41. Behind the miracle of the sixth championship is the football with AI blessing in the Bundesliga
  42. An easy to use Visual Studio code extension - live server, suitable for front-end gadget development
  43. 用 Python 抓取公号文章保存成 HTML
  44. User login of front end spa project based on Vue and Quasar (2)
  45. Summary of common selectors in CSS
  46. Using Python to grab articles with public number and save them as HTML
  47. To "restless" you
  48. 【免费开源】基于Vue和Quasar的crudapi前端SPA项目实战—环境搭建 (一)
  49. 【微信小程序】引入阿里巴巴图标库iconfont
  50. layui表格点击排序按钮后,表格绑定事件失效解决方法
  51. Unity解析和显示/播放GIF图片,支持http url,支持本地file://,支持暂停、继续播放
  52. 【vue】 export、export default、import的用法和区别
  53. [free and open source] crudapi front end spa project based on Vue and Quasar
  54. [wechat applet] introduces Alibaba icon library iconfont
  55. Layui table click Sort button, table binding event failure solution
  56. Element树形控件Tree踩坑:修改current-node-key无效
  57. Unity parses and displays / plays GIF images, supports HTTP URL, supports local file: / /, supports pause and resume playback
  58. Element树形控件Tree踩坑:修改current-node-key无效
  59. The usage and difference of export, export default and import
  60. Element tree control: invalid to modify current node key