![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
MicaQian
这个作者很懒,什么都没留下…
展开
-
SpringBoot注解学习
SpringBoot注解 @SpringBootApplication:组合注解(@EnableAutoConfiguration和@ComponentScan) @EnableAutoConfiguration:开启自动配置,修饰范围(只能用在类上)根据pom.xml文件中依赖自动判断。例如 引入 spring-boot-starter-web会自动根据引入的这个依赖构建相关环境(springmvc环境 web容器环境) @ComponentScan:作用:用来开启注解扫描,修饰范围(只能用在类上)扫描原创 2022-07-02 14:54:44 · 220 阅读 · 0 评论 -
springboot项目打包部署
后端打包 eclipse 后端打jar包 打包方法,第一步 父项目 右键---->运行方式---->Maven clean。 第二步:项目 右键---->运行方式---->Maven install。 在控制台会出现打包路径: …\target… 前端打包 和启动一个地方执行命令 npm run build 会生成一个dist文件夹 ...原创 2022-02-28 15:31:32 · 223 阅读 · 0 评论