摘要:
SpringBoot 内嵌 Tomcat 工作原理是 将 Tomcat 服务器作为对象运行,并将该对象交给 Spring 容器管理 变更内嵌服务器思想是去除现有服务器,添加全新的服务器 阅读全文
posted @ 2023-11-08 21:38
1stzz1
阅读(35)
评论(0)
推荐(0)
摘要:
SpringBoot 工程提供引导类用来启动程序,SpringBoot 工程启动后创建并初始化 Spring 容器 package com.itheima;import org.springframework.boot.SpringApplication;import org.springframe 阅读全文
posted @ 2023-11-08 21:23
1stzz1
阅读(23)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-11-08 20:19
1stzz1
阅读(20)
评论(0)
推荐(0)
摘要:
运行SpringBoot程序通过运行Application程序入口进行 要想保证SpringBoot程序运行起来,主要需要俩文件: 1. pom.xml 2. Application类 @SpringBootApplicationpublic class Springboot01Applicatio 阅读全文
posted @ 2023-11-08 20:16
1stzz1
阅读(26)
评论(0)
推荐(0)
浙公网安备 33010602011771号