![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot学习
四禾子
这个作者很懒,什么都没留下…
展开
-
拦截器遇到的一些问题
今天突然发现拦截器一会管用一会不管用,恶心坏了,于是上网查找原因 期初我修改的是 WebMvcConfigurerAdapter 这个类在已经过时,代替方法有下面两组 1.实现WebMvcConfigurer接口 2.继承WebMvcConfigurationSupport 我才用1的方式 ,我输入的验证地址是http://localhost:8009/api/hi 验证通过,但敲过回车后 ...原创 2020-04-26 17:31:06 · 294 阅读 · 0 评论 -
springboot搭建流程(一)
springboot2.0 百度了很多资料最终决定把自己学习搭建项目的整个过程整理出来,方便日后的重复利用 主要引入了redis,mybaties,定时任务,异步任务,swagger2(接口测试文档api),httpclient, fastjson,logback ... 搭建过程参考了很多博客文章及不错的代码库 强烈推荐认真学习参考:http://springboot.fun/ 里面的文...原创 2018-11-16 14:21:50 · 808 阅读 · 0 评论 -
springboot搭建流程(二)
搭建流程(一)https://blog.csdn.net/siji_zhao/article/details/84137739 未提及springboot监控页 下文把admin配置下 server项目结构 application.properties 配置 server.port=8000 启动类代码 package com.neo; import de.codecent...原创 2018-11-16 14:35:07 · 129 阅读 · 0 评论 -
springboot多数据源搭建
本文基于springboot2.0以上版本 springboot1.5 版本搭建 spring.datasource.basic.driverClassName = com.mysql.jdbc.Driver spring.datasource.basic.url = jdbc:mysql://localhost:3306/test1?useUnicode=true&charac...原创 2018-11-27 10:43:14 · 146 阅读 · 0 评论 -
一个问号惹的祸
我们在开发过程中经常为了保证速度去复制粘贴,可今天遇到个问题 1. http://localhost:8080/cs-pv/role/del/d5e1ee37-f16c-4801-b4e7-03f56d0d9699 2. http://localhost:8080/cs-pv/role/del/?id=d5e1ee37-f16c-4801-b4e7-03f56d0d9699 在业务...原创 2019-01-21 17:19:42 · 133 阅读 · 0 评论 -
springboot 热启动
springboot 热启动 每次写完代码,总要重启项目很麻烦,下面说下springboot日启动方法 pom.xml配置 依赖文件配置 <!--热启动操作--> <dependency> <groupId>org.springframework.boot</groupId> ...原创 2019-03-18 16:03:28 · 3257 阅读 · 0 评论