mybatis版本和mybatis-spring版本需要对应,否则有可能会出现异常
org.mybatis.spring.transaction.SpringManagedTransaction.getTimeout
SqlSession was not registered for synchronization because synchronization is not active

        
            org.mybatis
            mybatis
            3.4.6
        
        
        
            org.mybatis
            mybatis-spring
            1.3.2
        

       
            org.mybatis
            mybatis
            3.2.8
        
        
        
            org.mybatis
            mybatis-spring
            1.2.2