Springmvc+Mybatis( 配置Conveter转换器 转换工厂 (来转换数据格式)),报错,搞好了

在整合SpringMVC和Mybatis时遇到配置Converter转换器和转换工厂的问题,导致数据格式转换错误。经过排查,发现是由于同时启用了配置处理器映射器和适配器导致的冲突,通过注释掉一处解决了问题。
摘要由CSDN通过智能技术生成

DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.ItemsExample C r i t e r i o n m a t c h e s c r i t e r i a [ i s a s s i g n a b l e t o O b j e c t ] D E B U G [ l o c a l h o s t − s t a r t S t o p − 1 ] − C h e c k i n g t o s e e i f c l a s s c o m . t m . p o . I t e m s E x a m p l e Criterion matches criteria [is assignable to Object] DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.ItemsExample Criterionmatchescriteria[isassignabletoObject]DEBUG[localhoststartStop1]Checkingtoseeifclasscom.tm.po.ItemsExampleGeneratedCriteria matches criteria [is assignable to Object]
DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.Orders matches criteria [is assignable to Object]
DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.OrdersExample matches criteria [is assignable to Object]
DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.OrdersExample C r i t e r i a m a t c h e s c r i t e r i a [ i s a s s i g n a b l e t o O b j e c t ] D E B U G [ l o c a l h o s t − s t a r t S t o p − 1 ] − C h e c k i n g t o s e e i f c l a s s c o m . t m . p o . O r d e r s E x a m p l e Criteria matches criteria [is assignable to Object] DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.OrdersExample Criteriamatchescriteria[isassignabletoObject]DEBUG[localhoststartStop1]Checkingtoseeifclasscom.tm.po.OrdersExampleCriterion matches criteria [is assignable to Object]
DEBUG [localhost-startStop-1] - Checking to see if class com.tm.po.OrdersExample G e n e r a t e d C r i t e r i a m a t c h e s c r i t e r i a [ i s a s s i g n a b l e t o O b j e c t ] D E B U G [ l o c a l h o s t − s t a r t S t o p − 1 ] − C h e c k i n g t o s e e i f c l a s s c o m . t m . p o . Q u e r y V o m a t c h e s c r i t e r i a [ i s a s s i g n a b l e t o O b j e c t ] D E B U G [ l o c a l h o s t − s t a r t S t o p − 1 ] − C h e c k i n g t o s e e i f c l a s s c o m . t m . p o . U s e r m a t c h e s c r i t e r i a [ i s a s s i g n a b l e t o O b j e c t ] D E B U G [ l o c a l h o s t − s t a r t S t o p − 1 ] − C h e c k i n g t o s e e i f c l a s s c o m . t m . p o . U s e r E x a m p l e m a t c h e s c r i t e r i a [ i s a s s i g n a b l e t o O b j e c t ] D E B U G [ l o c a l h o s t

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值