码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
SpringBoot + Vue + ElementUI 实现后台管理系统模板 -- 前端篇(六):使用 vue-router 进行动态加载菜单
前提: (1) 相关博文地址: SpringBoot + Vue + ElementUI 实现后台管理系统模板 -- 前端篇(一):搭建基本环境:https://www.cnblogs.com/l-y-h/p/12930895.html SpringBoot + Vue + ElementUI 实现 ...
分类:编程语言   时间:2020-06-05 21:14:33    阅读次数:88
SpringBoot 配置Druid数据监控
1、pom文件引入druid数据源 <!--druid数据源--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.8</version> </dependency> 2、 ...
分类:编程语言   时间:2020-06-05 15:19:34    阅读次数:73
Idea如何实现SpringBoot外置Tomcat的Web项目热部署?案例详解
见到女朋友每次修改代码都傻乎乎的重启服务器~~~你累不累,气的我上去给了她一巴掌~~~。什么时候了热部署都不会,上教程!!! 第二要注意:很多人在学Java高级过程中难免会遇到各种问题搞不懂。为此我建了个裙 783802103,汇聚了众多Java大佬一起交流解答,小白勿进!! 1、idea设置自动编 ...
分类:编程语言   时间:2020-06-05 15:11:35    阅读次数:66
SpringBoot定时任务如何正确运用?案例详解
@Scheduled注解各参数详解 1. cron 该参数接收一个cron表达式,cron表达式是一个字符串,字符串以5或6个空格隔开,分开共6或7个域,每一个域代表一个含义。 cron表达式语法 [秒] [分] [小时] [日] [月] [周] [年] 注:[年]不是必须的域,可以省略[年],则一 ...
分类:编程语言   时间:2020-06-05 15:00:02    阅读次数:87
Springboot之actuator配置不当的漏洞利用
Http 方法路径描述 get /autoconfig 提供了一份自动配置报告,记录哪些自动配置条件通过了,哪些没通过 get /configprops 描述配置属性(包含默认值)如何注入 Bean get /beans 描述应用程序上下文里全部的 Bean,以及它们的关系 get /dump 获取 ...
分类:编程语言   时间:2020-06-05 14:58:34    阅读次数:233
springboot项目打包docker镜像maven插件
<!-- profile docker config --> <profiles> <profile> <id>docker</id> <build> <plugins> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven ...
分类:编程语言   时间:2020-06-05 14:53:25    阅读次数:135
Springboot+Mybatisplus替换mybatis整合报错Mapped Statements collection does not contain value
mybatisPlus完全兼容mybatis,一般来说直接替换掉就可以了,如果mybatis的数据源不能取消创建的话,就注掉mybatisplus的数据源 //@Configurationpublic class DataSourceConfig {// @Bean(name="dataSource ...
分类:移动开发   时间:2020-06-05 13:23:35    阅读次数:147
SpringBoot 在IDEA中实现热部署
学习目标 快速学会在项目中使用热部署插件运行项目,提高开发效率。 具体步骤 一、开启IDEA的自动编译(静态) 具体步骤:打开顶部工具栏 File -> Settings -> Default Settings -> Build -> Compiler 然后勾选 Build project auto ...
分类:编程语言   时间:2020-06-05 12:53:21    阅读次数:82
SpringBoot项目中的定时任务实现方法
@Scheduled注解 开启条件 在启动类上加上 @EnableScheduling 注解 示例: @EnableScheduling @SpringBootApplication public class Application { public static void main(String[ ...
分类:编程语言   时间:2020-06-05 09:12:24    阅读次数:170
【SpringBoot】定时任务
定时任务注解 主程序 @EnableScheduling @SpringBootApplication public class SpringBootLesson1Application { public static void main(String[] args) { SpringApplica ...
分类:编程语言   时间:2020-06-05 00:57:37    阅读次数:65
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!