![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
不三
这个作者很懒,什么都没留下…
展开
-
Windows和Linux上使用Prometheus+Grafana监控Springboot
Windows和Linux上使用Prometheus+Grafana监控Springboot原创 2022-10-21 16:58:34 · 645 阅读 · 0 评论 -
java从表中查询树结构的xml
java从数据库查询树结构实体类@Data@TableName("t_000_factory")@ApiModel(value="Factory对象", description="Factory对象")public class Factory implements Serializable { @TableId(value = "FactoryId") private Long FactoryId; @TableField("FactoryName")原创 2021-04-02 16:35:14 · 111 阅读 · 0 评论 -
MybatisPlus自动生成模板代码
MybatisPlus自动生成模板代码一、引入依赖二、自动生成代码的类三、在resource的templates包下添加模板1. controller.java.vm2. entity.java.vm3. mapper.java.vm4.mapper.xml.vm5. service.java.vm6. serviceImpl.java.vm一、引入依赖 <dependency> <groupId>com.baomidou</groupId>原创 2021-03-29 09:51:17 · 1264 阅读 · 1 评论 -
用tomcat启动Spingboot后页面404
用tomcat启动Spingboot后页面404检查以下三点:打包方式 <packaging>war</packaging>添加web依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.原创 2021-01-08 15:43:21 · 95 阅读 · 0 评论 -
Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAuto
springboot 报错 Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer报错详情java.lang.IllegalStateException: Error processing condition on org.springframework.boo原创 2021-01-08 14:53:14 · 30179 阅读 · 0 评论 -
Springboot的定时任务
springboot的定时任务一、新建一个Springboot项目二、在启动类上加上注解@EnableScheduling三、编写jobs.java一、新建一个Springboot项目Springboot项目初始化可以用到这个:http://start.spring.io二、在启动类上加上注解@EnableScheduling@SpringBootApplication@EnableScheduling // 允许支持schedulepublic class DemoApplication {原创 2020-06-08 15:31:22 · 88 阅读 · 0 评论