intellij idea搭建SpringBoot

2020-12-13 04:52

阅读:449

标签:settings   ide   XML   start   com   idea   cat   jee   tomcat端口   

1.安装mavn在settings.xml设置下载链接

技术图片

 


nexus-aliyun
*,!jeecg,!jeecg-snapshots
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public

在idea设置maven关联

技术图片

2.创建新项目

技术图片

技术图片

技术图片

技术图片

写Controller

技术图片

添加starter web引用,可以用spring boot自带的tomcat

技术图片

更改tomcat端口

技术图片

启动项目

技术图片

 

技术图片

 

intellij idea搭建SpringBoot

标签:settings   ide   XML   start   com   idea   cat   jee   tomcat端口   

原文地址:https://www.cnblogs.com/dongjh/p/11124793.html


评论


亲,登录后才可以留言!