赞
踩
https://www.eclipse.org/downloads/
Help -> About Eclipse IDE
https://spring.io/tools3/sts/all
Help -> Install New Software
选择需要的模块进行安装,安装成功后如下图
通过p2仓库安装
在Eclipse工具栏中选择Help->Install New Software
以下为不同版本Eclipse对应的STS4链接:
Eclipse 4.17: https://download.springsource.com/release/TOOLS/sts4/update/e4.17/
Eclipse 4.16: https://download.springsource.com/release/TOOLS/sts4/update/e4.16/
Eclipse 4.15: https://download.springsource.com/release/TOOLS/sts4/update/e4.15/
https://www.oracle.com/technetwork/java/javase/downloads/index.html
配置JAVA_HOME
安装验证
https://maven.apache.org/download.cgi
配置M2_HOME
安装验证
https://spring.io/guides/gs/spring-boot/
Window -> Preferences -> Maven -> Installations
Add新增Maven运行环境
选择新增maven,点击Apply
配置本地仓库,修改settings.xml
配置仓库路径
https://start.spring.io/
点击Generate,生成一个名为demo的压缩包,解压至对应目录下
打开Eclipse IDE,选择Import projects,Maven -> Existing Maven Projects
选择demo程序包
demo程序包已导入
在demo项目上右键,选择Run As -> Maven build
选择Run As -> Spring Boot App
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。