springboot的server.context-path不起作用
需要重新打包jar 不能只改server. servlet.context-path
需要重新打包jar 不能只改server. servlet.context-path
springboot config: spring: lifecycle: timeout-per-… 继续阅读 springboot lifecycle timeout-per-shutdown-phase优雅退出
修改jdbc url: #quartz用到了游标,而sqlserver默认不打开游标 #jdbc.u… 继续阅读 springboot quartz sqlserver 异常 Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR
FROM jre:8 MAINTAINER me <me@me> LABEL Descr… 继续阅读 springboot tomcat优化
#ribbon的超时时间 ribbon: # read-timeout: 60000 失效参数 # … 继续阅读 ribbon的超时时间
pom.xml <dependency> <groupId>org.apac… 继续阅读 springboot 使用rocketmq 4.8.0
报错: *************************** APPLICATION FAILED… 继续阅读 The dependencies of some of the beans in the application context form a cycle:
FROM java:8 #创建/tmp目录并持久化到Docker数据文件夹 #因为Spring Bo… 继续阅读 Spring Boot Dockerfile优化
pom.xml <?xml version=”1.0″ encoding=”UTF-8″?&g… 继续阅读 Spring Boot 2 使用JSP视图
wget https://github.com/alibaba/nacos/releases/dow… 继续阅读 快速运行Nacos单机版
三种: 全局配置 import org.springframework.context.annota… 继续阅读 Spring Boot跨域问题
在线生成图案: 在项目resources目录下新建banner.txt文本,贴入上述生成的字符串图案… 继续阅读 springboot自定义启动图案
https://pan.baidu.com/s/1_E0qmWkGC-eWyD7IGWGwXw 提取… 继续阅读 Spring全家桶
使用JDBC的 PreparedStatement/Statement 的 setFetchSize… 继续阅读 JDBC实现流式查询
dao Dao层:持久层,主要与数据库交互 DAO层首先会创建Dao接口, 接着就可以在配置文件中定… 继续阅读 Springboot层级:entity dao service controller view
application.yml 将文件上传到制定目录去: filePath: D:/Desktop/… 继续阅读 springboot文件上传到本地
@RequestMapping(“/addUser2”) public String addUser… 继续阅读 springboot通过HttpServletRequest接收请求参数
CommonReturnType.java public class CommonReturnTyp… 继续阅读 springboot文件下载
PROPAGATION_REQUIRED , required , 必须 【默认值】 支持当前事务,… 继续阅读 org.springframework.transaction.TransactionDefinition事务定义
PlatformTransactionManager 平台事务管理器,spring要管理事务,必须使… 继续阅读 org.springframework.transaction顶级接口