2.2.2 health_common 创建health_common,子工程,打包方式为jar,存放通用组件,例如工具类、实体类等pom.xml <?xml version="1.0" encoding="UTF‐8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema‐instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 [url]http://maven.apache.org/xsd/maven[/url]‐4.0.0.xsd"> <parent> <artifactId>health_parent</artifactId> <groupId>com.itheima</groupId> <version>1.0‐SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>health_common</artifactId> <packaging>jar</packaging> <dependencies> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> </dependency> <!‐‐ Mybatis ‐‐> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis‐spring</