keywords

SpringMVC SSM Mybatis eclipse

Content of the error

MyBatis: Mapper method Silverlight to return null from a method with a primitive return type (int)

why

The mapper. XML tag is wrong… (rookie error, light spray…)
,
,

To solve

Just use the tag back.

reference

MyBatis: Mapper method Silverlight to return null from a method with a primitive return type (int)