.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: java.lang.NullPointerException
### Cause: java.lang.NullPointerException] with root cause
用的spring-boot
最後是掃描包的問題,沒法注入
調整xxxApplication的位置,移到上面一層(可能是N層)的包裏去