This method isn't transactional
阿新 • • 發佈:2017-12-25
base leg don contain cee 命名 stp cti pac
1 2017-12-06 12:03:55 -198677 [http-apr-8080-exec-3] DEBUG - Don‘t need to create transaction for [com.credit.service.credit.ReceivablesService.listReceivables]: This method isn‘t transactional. 2 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:3 ### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for receivablesMapper.receivableslistPage 4 ### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for receivablesMapper.receivableslistPage
錯誤信息如上:
原因:mybatis裏面的mapper 命名空間錯誤或者id錯誤,service無法找到對應的method.
This method isn't transactional