快速的解决办法是添加web启动器,那里面有jackson的依赖。
也许通过fastjson或jackson的一些配置能解决这个问题,但我已经不想去查了。
因为即使解决了这个问题,我的项目运行的时候还是报错:
RocketmqRemoting - closeChannel: close the connection to remote address[] result: true
网上都说是因为broker没有配置IP导致的,可是我配置了还是这样,用telnet测试也可以连接上。
真是很扫兴!
required a bean of type ‘com.fasterxml.jackson.databind.ObjectMapper‘ that could not be found.
于 2021-07-27 18:40:59 首次发布