一、maven安装配置
下载软件 repository.zip:https://download.youkuaiyun.com/download/lavendeyan/11235645
apache-maven-3.3.9:http://maven.apache.org/download.cgi
- 地址:
- 配置系统变量
- 配置Path环境变量
- 检查mvn版本
- 点开C:\briup\apache-maven-3.3.9\conf目录下的setting.xml文件,复制下面的代码将其占入其中(C:\briup\repository是你repository解压后所在的目录)
<localRepository>C:\briup\repository</localRepository>
效果如下
二、Springboot安装配置
下载地址:xx(后续补上)
-
//测试springboot是否配置成功,出现版本信息则表示成功 >spring --version
-
//使用springBoot初始化项目 >spring init -g=com.briup.apps -a=test01 -d=web test01
-
//用cd进入刚刚新建的的文件夹workspace //通过maven来启动这个springboot项目 > mvn spring-boot:run
- 当出现红色标注的地方就表示已经启动成功
- 在网页上输入localhost:8080显示页面,就表示springboot配置成功并运行