自学内容网 自学内容网

9.26-9.29学习

一.项目结构的建立

        5个微服务模块

新建好各个模块后,在项目pom下引入各模块。各pom文件指定springboot版本2.1.8.RELEASE

         .gitignore

#表示任意路径下的xx文件
**/mvnw
**/mvnw.cmd

**/.mvn
**/target/

.idea

**/.gitignore

二.数据库初始化 

 一个微服务模块对应一个数据库

 三.人人开源搭建后台管理系统

        在人人开源gitee仓库中拉取后台管理系统的前后端项目

  报错:    ‘parent.relativePath‘ of POM io.renren:renren-fast:3.0.0

加上 <relativePath></relativePath>即可

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
<relativePath></relativePath>
</parent>

npm安装报错 :         node-sass

npm install node-sass@npm:sass --ignore-scripts
 四.逆向工程的搭建

        利用人人开源代码生成器生成基本的增删改查代码

gulimall-common模块,用来引入每一个微服务公共的依赖、bean、工具类等

 


原文地址:https://blog.csdn.net/weixin_73118927/article/details/142646175

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!