摘要: 工程结构: 父模块 multimodule-parent: 子模块 multimodule-core 子模块 multimodule-web(web,唯一有启动类的模块) 关系: multimodule-web依赖 multimodule-core (需要把multimodule-core 包打到m 阅读全文
posted @ 2021-04-01 11:39 hzy_叶子 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 原因 为什么要使用,因为在程序开发中,可能包名不一样,pom依赖的很多的jar 他们是如何把这些类进行注入到spring容器中的呢。 所以springboot就提出了spring.factories 使用 一、第一种 新建一个Test类 package com.test; public class 阅读全文
posted @ 2021-04-01 09:50 hzy_叶子 阅读(2843) 评论(0) 推荐(1) 编辑