
【05】SpringBoot
LGX_TvT
小步快跑
展开
-
SpringBoot事务失效
数据库应为InnoDB引擎原创 2020-04-28 21:41:40 · 255 阅读 · 0 评论 -
如何构建Springboot多模块项目
文章目录1、工程简介2、项目构建2.1 创建父工程2.1.1 new Project (由于本人是在空工程上构建,所以是new model)2.1.2 由于当前是一个父工程,除了保留pom.xml之外,可以删除其他无用部分(src 以及 其他)2.1.3 修改pom.xml文件2.2 创建其余子模块工程2.2.1 创建boss-bes-exam-pojo2.2.1.1 创建子模块2.2.1.2 删...原创 2019-11-27 13:34:32 · 665 阅读 · 0 评论 -
SpringBoot2学习笔记(十四)安全
SpringBoot2学习笔记(十四)安全原创 2018-09-22 11:28:30 · 906 阅读 · 0 评论 -
SpringBoot2学习笔记(十六)WebSocket
SpringBoot使用WebSocket原创 2019-11-27 14:09:36 · 184 阅读 · 0 评论 -
SpringBoot配置数据库时The server time zone value
报错内容:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration propert...原创 2019-03-07 09:11:00 · 2946 阅读 · 0 评论 -
SpringBoot2学习笔记(九 - 2)SpringBoot 集成 Swagger2
dsa原创 2019-03-11 11:37:45 · 304 阅读 · 0 评论 -
SpringBoot + MyBatis + Swing 开发客户端应用
最近在做应用软件的作业(实现一个客户端的仓库管理系统),然后就想试一下使用可以构建一切的SpringBoot框架来实现Swing的客户端开发,然而没想到坑还挺多的。项目地址https://github.com/1336037686/software-demo首先强调一点,启动程序必须使用下面写法:new SpringApplicationBuilder(WgClientSimple...原创 2019-04-08 00:08:21 · 8690 阅读 · 3 评论 -
SpringBoot2学习笔记(十一)任务
异步任务定时任务邮件任务原创 2018-07-22 13:25:31 · 1029 阅读 · 0 评论 -
SpringBoot2 国际化报错 ??xxx_xx_XX??
使用Spring国际化时出现如下错误 原因:国际化资源未找到 解决办法:在配置文件上配置国际化资源路径# 配置国际化资源路径spring.messages.basename=i18n/message效果: ...原创 2018-07-12 11:21:14 · 2776 阅读 · 2 评论 -
SpringBoot2学习笔记(二) 配置
Properties与Yaml服务器配置配置启动信息日志配置Enviroment原创 2018-07-18 16:19:23 · 2299 阅读 · 0 评论 -
SpringBoot2学习笔记(三) 日志的使用
xxxx原创 2018-07-19 17:31:33 · 6743 阅读 · 0 评论 -
SpringBoot2 定制和修改嵌入式Servlet容器(Tomcat)的相关配置
SpringBoot默认使用Tomcat作为嵌入式的Servlet容器;1.使用配置文件定制修改相关配置在application.properties / application.yml配置所需要的属性 属性 描述 server.tomcat.accept-count = 0 #当所有可能的请求处理线程都在使用时,传入连接请求的最大队列长度。 se...原创 2018-07-14 20:47:20 · 14503 阅读 · 1 评论 -
SpringBoot2学习笔记(七) 部署SpringBoot应用
SpringBoot默认使用jar方式运行1.以jar文件方式1)使用jar方式打包a.在pom.xml中导入相应插件 <build> <plugins> <plugin&gt原创 2018-07-14 23:53:00 · 4852 阅读 · 0 评论 -
SpringBoot 使用JavaWeb三大件(Servlet,Filter,Listener)
一.以war包打包运行那就跟以前一样在web.xml注册相应的servlet等信息即可1.注册三大件基本结构三大件代码HelloServlet Servletimport javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet...原创 2018-07-15 09:38:32 · 2179 阅读 · 0 评论 -
SpringBoot2学习笔记(四)Web技术
一.验证框架二.参数绑定三.文件上传四.Json的使用五.Servlet三大件(Servlet,Filter,Listener)六.错误处理原创 2018-07-20 15:18:49 · 1146 阅读 · 0 评论 -
SpringBoot2学习笔记(六)数据库处理
一.配置数据源二.整合JDBC三.整合Mybatis四.整合JPA原创 2018-07-21 00:53:13 · 4934 阅读 · 0 评论 -
SpringBoot2学习笔记(八)单元测试
JUnit是一个由Java编写的开源的回归测试一.JUnit单元测试1.基本单元测试 属性 功能 @BeforeClass 每个类加载的开始时运行 @AfterClass 每个类加载的结束时运行 @Before 测试方法开始执行前运行 @After 测试方法运行结束后运行 @Test 标注此方法为测试方法...原创 2018-07-21 12:15:12 · 1603 阅读 · 0 评论 -
SpringBoot2学习笔记(九 - 1)REST简介与Swagger-UI的简单使用
SpringBoot2学习笔记(九)REST简介与Swagger的简单使用原创 2018-07-22 16:06:21 · 2062 阅读 · 0 评论 -
SpringBoot2学习笔记(一)初识Spring Boot
SpringBoot学习(一)原创 2018-07-18 10:09:33 · 1353 阅读 · 0 评论