- 博客(6)
- 收藏
- 关注
原创 springboot项目多模块划分
将不用启动的子模块启动类和test删除,这里我的controller模块需要启动类和test,在子模块pom.xml里面说明父模块。只在启动模块里面加springboot-start依赖不要在父模块里面加!不然所有子模块都会继承这个依赖,导致冲突。在你启动模块ppom.xml里面写明主启动类入口。父模块的pom.xml,将你建的模块写进来。一定要在父pom.xml 里写明打包方式。如果模块冲突,可以在查看。
2022-11-03 22:27:51
720
原创 后端代码改变,Swagger 无法正常更新
这就导致了我的swagger 必须每次要去clean 和 install 一下我的maven ,swagger才会正常更新。项目路径一开始是按照老师要求的gitee 仓库的目录,我直接打开。最后我发现直接打开backend,swagger即可正常更新。我的swagger配置如下。折磨我很久,没有找到原因。
2022-10-14 23:30:08
1520
原创 Oracle 状态:失败–测试失败:IO 错误: The Network Adapter could not establish the connection
Oracle 状态:失败–测试失败:IO 错误: The Network Adapter could not establish the connection
2022-09-05 21:24:07
601
原创 Could not transfer artifact xxxx
Could not transfer artifact org.springframework.boot:spring-boot-starter-data-redis from/tohttp://maven.aliyun.com/nexus/content/groups/public/
2022-08-19 20:56:18
158
原创 Could not transfer artifact org.springframework.cloud:spring-cloud-dependencies:pom:xxx in 阿里云
spring-cloud-dependencies导入失败
2022-07-16 22:18:09
4655
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人