SpringCloud 01 - 基础理论


1. IDEA 新建 project 工作空间

1)微服务 cloud 整体聚合工程 Project

父工程步骤

① New Project

SpringCloud 02 - 微服务架构编码 构建

SpringCloud 02 - 微服务架构编码 构建

② 字符编码

SpringCloud 02 - 微服务架构编码 构建

③注解生效**

SpringCloud 02 - 微服务架构编码 构建

④Java 编译版本选 8

SpringCloud 02 - 微服务架构编码 构建

⑤ File Type 过滤(可选)

SpringCloud 02 - 微服务架构编码 构建

这个看个人习惯了,设不设都行。我就是看着难受哈哈哈...

设之前是这样的:

SpringCloud 02 - 微服务架构编码 构建

设之后:

SpringCloud 02 - 微服务架构编码 构建

2)父工程POM

这个 src 删掉就行,反正没啥用,因为待会会建 mudole..

SpringCloud 02 - 微服务架构编码 构建

 

 

3)Maven工程落地细节复习

Maven中的DependencyManagement和Dependencies
    maven中跳过单元测试

4)父工程创建完成执行mvn:insall将父工程发布到仓库方便子工程继承

 

 

 

 

 

 

相关文章:

  • 2021-08-28
  • 2021-10-15
  • 2022-02-16
  • 2022-01-11
  • 2021-12-02
  • 2021-09-24
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2021-09-20
  • 2021-11-22
  • 2021-08-28
  • 2021-11-12
相关资源
相似解决方案