Error details:
Error building SqlSession.
The error may exist in com/lengzher/Dao/UserMapper.xml
Cause: org.apache.ibatis.builder.builderexception: error parsing SQL mapper configuration. Cause: org.apache.ibatis.builder.builderexception: error creating document instance. Cause: com.sun.org.apache.xerces.internal.impl.io.malformedbytesequenceexception: byte 1 of UTF-8 sequence of 1 byte is invalid.
Problem solving:
The error may exist in COM/lengzhe/Dao/usermapper.xml indicates that the problem may be wrong in usermapper.xml, such as wrong path, more spaces, etc. But our mistakes are more than that; The following error log writes: byte 1 of 1-byte UTF-8 sequence is invalid. The description is that Chinese appears in usermapper.xml!!! Note: do not appear Chinese in usermapper.xml, even comments!!! Delete the Chinese in usermapper.xml. The problem is solved
Read More:
- org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession. ### The error may
- Error building SqlSession. ### Cause: org.apache.ibatis.builder.BuilderException: Error creating d
- Spring boot problem 1: error reporting life processing instructions for building a spring boot project
- Error reporting – the project directly introduces the error reporting and solution of. SCSS file
- Ubuntu has solved the error of h5py installation: building wheel for h5py( setup.py )… or error: failed building wheel for h5py
- Building OpenGL environment
- SqlSession was not registered for synchronization because synchronization is not active
- Invalid cluster ID. ignore in building Doris database environment
- Failed building wheel for psycopg2
- Error building player because scripts have compile errors in the editor
- Failed building wheel for twisted solution appears after installing scratch
- Failed building wheel for psutil solution
- Failed building wheel for SCS appears in cvxpy
- Building virtual machine environment based on kvm-qemu under ubuntu12.10 (12)
- [How to Fix] fatal git-write-tree error building trees
- Building wheel for wrapt (setup.py) … error
- [Python] failed building wheel for MySQL Python solution
- Android studio reports an error when building AAR for unity
- Error building Player because scripts had compiler errors when packaging ab package
- Error in installing cryptograph failed building wheel for cryptography