在pom中添加<dependency> <groupId>com.sim</groupId> <artifactId>SM-1.60</artifactId> <version>1.60</version> <scope>system</scope> <systemPath>${project.basedir}/lib/SM-1.60.jar</systemPath></dependency>