remove the cache first,
p>
mybatis appear Result Maps collection already contains the value for the com. XXX. XxxMapper. R. aseResultMap mistakes, p>
could both be a problem with MybatisGenerator’s reverse generation.
suppose MybatisGenerator is used to reverse-engineer the code to generate the dao file and mapper.xml file,
after clearing the cache, carefully examine the mapper.xml file that was previously generated!
if the code is generated again, the generated code must be deleted first, otherwise it will be appended to the original file. Carefully check the mapper.xml file
to see if there are two resultMap with id BaseResultMap, delete the redundant ones, and keep only one to solve the problem.
or remove the mapper.xml file and regenerate.
Read More:
- Field xxxMapper in com.xxx.service.impl.xxxServiceImpl
- Duplicate class com.xxx.xxx Find in modules problem solving (Aidl interdependence problem)
- Problem solving: failed to connect to github.com port 443: Operation timed out(2020.06.04)
- [DRC nstd-1] problem solving of vivado error problem
- The problem of running result window flash of vs2015
- The problem of C + + compile result window flash by
- Win10 system [createfile() error: 5] problem solving
- fatal: unable to access ‘https://github.com/xxx‘: Failed to connect to github.com
- [unable to calculate item metadata “% (fullpath)” unable to apply item metadata “% (fullpath)” to path] problem solving
- Solve CONDA’s “solving environment: failed” problem
- “NPM err! Error: eperm: operation not permitted” problem solving
- “Cannot access GitHub because this site uses HSTs.” Problem solving
- Error lnk1123: failure during conversion to coff: problem solving
- VTK compilation problem solving
- Online problem solving analysis
- Error 13 when grub starts: solving the problem of invalid or unsupported executable
- npm ERR! Error: CERT_ Untrusted problem solving
- git clone prompt error: RPC failed result=22, HTTP code = 404 problem
- Solving windows error: [error 87] classification: problem summary
- Call to undefined function oci_ Connect() problem solving