代码如下:
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<artifactId>leaf-boot-starter</artifactId>
<groupId>com.sankuai.inf.leaf</groupId>
<version>1.0.1-RELEASE</version>
<scope>system</scope>
<!-- 我把github的leaf放到本地, mvn clean install后把包放到这个项目的根目录了 -->
<systemPath>${basedir}/lib/leaf.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sankuai.inf.leaf</groupId>
<artifactId>leaf-server</artifactId>
<version>1.0.1</version>
</dependency>
</dependencies>
不知道为什么。。。
登录后可查看更多问答,登录/注册