# Maven 依赖 > 以下的 xml maven 依赖示例中,可能并非最新的 Mybatis-Flex 版本,请自行查看最新版本,并修改版本号。 1、只用到了 Mybatis,没用到 Spring 的场景: ```xml com.mybatis-flex mybatis-flex-core 1.1.9 ``` 2、用到了 Spring 的场景 ```xml com.mybatis-flex mybatis-flex-spring 1.1.9 `````` 3、用到了 Spring Boot 的场景 ```xml com.mybatis-flex mybatis-flex-spring-boot-starter 1.1.9 ```