摘要: 封装方法 public class Application { public static void main(String[] args) throws IOException { FileInputStream inputStream = new FileInputStream(new File 阅读全文
posted @ 2021-09-08 11:00 New_HackerHK 阅读(353) 评论(0) 推荐(0)
摘要: 封装加载方法 import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.Appl 阅读全文
posted @ 2021-09-08 10:56 New_HackerHK 阅读(415) 评论(0) 推荐(0)
摘要: 添加配置类 /** * 表示取消数据源的自动配置 */ @Slf4j public class ConfigApplication { public static void main(String[] args){SpringApplication.run(ConfigApplication.cla 阅读全文
posted @ 2021-09-08 10:49 New_HackerHK 阅读(486) 评论(0) 推荐(0)