mave排除依赖
<dependency> <groupId>com.common</groupId> <artifactId>common</artifactId> <version>0.0.1-SNAPSHOT</version> <exclusions> <exclusion> <artifactId>spring-data-mongodb</artifactId> <groupId>org.springframework.data</groupId> </exclusion> </exclusions> </dependency>