Spring实战第四版代码运行(使用Gradle+Eclipse构建)

xiaoxiao2021-02-28  45

1. 下载Gradle4.5.1

2. Eclipse菜单Help->Install New Software搜索“BuildShip”并安装。重启Eclipse。

3. Eclipse菜单File->Import->Existing Gradle Project->选择随书代码第五章"Spittr" 

更改选项(使用默认设置Gradle wrapper会导致版本冲突)

4. 选择服务器(本人使用的是GlassFish4),将工程添加进去,运行服务器,浏览器输入http://localhost:8080/spittr/。(完)

转载请注明原文地址: https://www.6miu.com/read-2628545.html

最新回复(0)