no message body writer has been found for response class
问题如下:no message body writer has been found for response class nullpointerexception.问题分析:如下图所示,调试发现 customerInfoDao = null解决方案:找到 applicationContext.xml 文件,添加 property到对应bean下即可再次调试,如图所示 customerInfoDao不再为 null用postman测试接口也正常了...
复制链接