settings apache-maven springboot specified

SpringBoot+Vue实现大文件分块上传

1. 项目背景由于用户需求,需要上传大量图片,只能通过上传压缩包的形式上传,可是压缩包过大时,又会出现上传超时的情况,故需要将压缩包分块上传,然后解压缩图片、若图片过大则再对图片进行压缩。 2. 分块上传分块上传我在用的时候发现有两种:第一种:分块合并接口全由后端接口生成;第二种:前端分块,后端上传 ......
SpringBoot 文件 Vue

springboot下添加全局异常处理和自定义异常处理

前言 在spring项目中,优雅处理异常,好处是可以将系统产生的全部异常统一捕获处理,自定义的异常也由全局异常来捕获,如果涉及到validator参数校验器使用全局异常捕获也是较为方便。 相关代码: GlobalExceptionHandler类: @Slf4j @RestControllerAdv ......
全局 springboot

SpringBoot+Vue.js实现大文件分片上传、断点续传与极速秒传

亲测好用,这里就直接上代码了,代码有详细的解释。 0. 建表语句SET NAMES utf8mb4;SET FOREIGN_KEY_CHECKS = 0; -- Table structure for file_info-- DROP TABLE IF EXISTS `file_info`;CREA ......
断点 SpringBoot 文件 Vue js

题解 QOJ1359【Setting Maps】 / accoders::NOI 5682【apers】

https://qoj.ac/contest/506/problem/1359 problem 给定一张大小为 的有向图 。现在告诉你敌军大本营在节点 \(s\) 和友军基地在节点 \(t\)。你需要在每个点上放置一定数量的APERS bounding mine来杀伤敌方步兵。 为了达成战术效果,你 ......
题解 accoders Setting apers 1359

Springboot+Vue实现多文件上传

多文件上传,后端接收到多次请求vue实现 <el-upload class="upload-demo" action="http://10.240.46.88:8081/upload1" :on-preview="handlePreview" :on-remove="handleRemove" :m ......
Springboot 文件 Vue

git tag and git describe a specified path/commits/tags

一、git tag and describe 1. Create a tag with patterned name git tag "tagname_v1.02" (one tag is pointed to a specified commit) 2. get tag describe to u ......
git specified describe commits path

SpringBoot进阶教程(七十九)spring-boot-starter- 有哪些 starter类型

spring Boot应用启动器基本的一共有44种,具体如下 1)spring-boot-starter 这是Spring Boot的核心启动器,包含了自动配置、日志和YAML。 2)spring-boot-starter-actuator 帮助监控和管理应用。 3)spring-boot-star ......

Go的Set实现

Go的Set实现 由于Go的内置集合中没有Set的实现,可以用map[type]struct{} 要求: 1、元素的唯一性 2、基本操作:添加、删除、判断是否存在、统计元素数量 3、可遍历集合 //声明Set type Set struct { //利用map,实现的Set集合 mapSet map ......
Set

SpringBoot实战项目:蚂蚁爱购(从零开发)

这是从零开发的SpringBoot实战项目,名字叫蚂蚁爱购。 从零开发项目,视频加文档,十天彻底掌握开发SpringBoot项目。 ......
SpringBoot 蚂蚁 实战 项目

3分钟快速上手springBoot全局异常处理

前后端都是有个统一的格式返回如Result,中有code,message,data。而若controller抛出异常则会导致不是统一格式的返回,需要用到全局异常处理异常并封装好返回。 ......
全局 springBoot

Redis和Springboot在Windows上面设置开机启动的方法

Redis和Springboot在Windows上面设置开机启动的方法 背景 同事遇到一个问题 Windows 晚上自动更新服务 然后第二天 Springboot开发的程序没有启动起来. 所以基于此想创建一个开机启动的服务设置 很早之前自己研究过 Winsw等工具 但是感觉对springboot 比 ......
Springboot Windows 方法 Redis

1、Springboot2简介

在学习 SpringBoot 之前,建议先具备 SpringMVC(控制层)、Spring(业务层)和 Mybatis(持久层)的相关知识 1.1、概述 1.1.1、Spring的缺点 Spring 框架虽然很出色,但是有一个明显的缺点:配置文件过于繁琐和复杂; 在单体项目中,因为配置文件只需要编写 ......
Springboot2 Springboot 简介

mysql set column default value as sha2(uuid(),512) ,length() measured sha2(uuid(),512) 's size is 128,

mysql> select @@version; + + | @@version | + + | 8.0.35-0ubuntu0.23.04.1 | + + 1 row in set (0.00 sec) mysql> create table t4(id bigint unsigned auto_ ......
sha2 uuid 512 sha measured

mysql set column sha2(uuid(),512) as column default value via trigger

mysql> show create table t3; + + + | Table | Create Table | + + + | t3 | CREATE TABLE `t3` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT, `create_tim ......
column default trigger mysql value

springboot集成log4j日志

一、在springboot的pom.xml配置文件中引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <!--排除默认spring-bo ......
springboot log4j 日志 log4 log

【JavaSE】集合Collection{List(ArrayList, LinkedList), Set(TreeSet, HashSet, LinkedHashSet)} + Map(HashMap, TreeMap, LinkedHashMap)

集合体系; 单列集合Collection{List(ArrayList, LinkedList), Set(TreeSet, HashSet, LinkedHashSet)}; 双列集合Map(HashMap, TreeMap, LinkedHashMap); 单列集合和双列集合的遍历方式; 单列集... ......

maven 配置(cmd 黑窗口执行 mvn 时默认的 settings 文件和 idea maven 相关配置)

写在前面: 本文章用于记录博主平时遇到的问题,步骤略粗糙,目的在于记录一边后续博主自己查找,如果能帮助到其他人更好。文章中用到的链接均为自行引入,侵删,谢谢(2I2Rc*@JY8) 问题说明:在一次使用 cmd mvn 命令通过下载到本地的第三方 jar 包(ojdbc8.jar)创建本地 mave ......
maven settings 文件 idea cmd

springboot开启定时不起作用

1、主启动类开启@EnableScheduling 并且 该配置所在的package要能被扫描到 package com.gccloud.dataroom.core.config; import com.gccloud.dataroom.core.module.receive.service.IDa ......
springboot 作用

ElasticSearch之Shard request cache settings

对于查询操作,Elasticsearch提供了缓存特性来暂存结果。 对于相同条件的查询请求,在缓存中的数据失效前,响应后续的查询操作时可以直接从缓存中提取结果,有效降低检索操作的时延,提升检索数据时的体验。 提到缓存相关的特性,即要关注如下几点: 缓存的开关 缓存中的数据哪里来 缓存占用的空间 缓存 ......
ElasticSearch settings request Shard cache

Solution Set #3

紧急更新。 上 OI-transit 上加训构造,感觉 OI-transit 是很好的找题网站。 25 loj6736. 「2020 集训队论文」最小连通块 应该加个部分分:DFS 序是 \(1\sim n\)。 你考虑这个部分分怎么做。一种做法是剥叶子,每次找到一个叶子的父亲。存在判断一个点是否是 ......
Solution Set

Caused by: io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required.【Springboot 连接 腾讯 redis 认证失败解决】

原文链接 : https://blog.csdn.net/De_Buffer/article/details/132492287 最终解决方法 虽然通过更换连接客户端为jedis解决了问题,但不符合发展趋势,lettuce已成为主流redis客户端,springboot2官方推荐,因此在这个保底方案 ......

springboot热部署配置

第一步 pom文件 <!-- 引入热部署依赖 --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope ......
springboot

SpringBoot高级开发(10)SpringBoot中的拦截器【用于处理验证登录等问题】

1、介绍 拦截器(Interceptor)是一种特殊的组件,它可以在请求处理的过程中对请求和响应进行拦截和处理。拦截器可以在请求到达目标处理器之前、处理器处理请求之后以及视图渲染之前执行特定的操作。拦截器的主要目的是在不修改原有代码的情况下,实现对请求和响应的统一处理。 2、场景 权限控制:拦截器可 ......
SpringBoot 问题

Redis报错:(error) DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user

一、报错内容 (error) DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user. In this mode c ......
protected Redis mode is password

Redis报错:WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128

报错内容: 1:C 08 Dec 2023 05:47:33.348 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 08 Dec 2023 05:47:33.348 # Redis version=7.0.5, bits=64, commit ......
somaxconn enforced WARNING backlog setting

SpringBoot高级开发(9)Spring中的HttpSession

1、简述 HttpSession是javaWeb提供的,用来处理会话事务的。session数据保存在后台,当然首次开启会话(即调用req.getSession())的时候也会将该SessionID数值传给前端用作Cookie 2、作用范围 首次访问服务器开始,浏览器关闭后就结束。后端的Session ......
HttpSession SpringBoot Spring

SpringBoot+线程池实现高频调用http接口并多线程解析json数据

场景 Springboot+FastJson实现解析第三方http接口json数据为实体类(时间格式化转换、字段包含中文): https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/134872936 Java中ExecutorServic ......
线程 SpringBoot 接口 数据 http

Springboot+FastJson实现解析第三方http接口json数据为实体类(时间格式化转换、字段包含中文)

场景 若依前后端分离版手把手教你本地搭建环境并运行项目: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/108465662 在上面搭建SpringBoot项目的基础上,并且在项目中引入fastjson、hutool、lombok等 ......
字段 第三方 Springboot 实体 FastJson

记录springboot的一次使用socketio的经历

pom中加入依赖 <dependency> <groupId>com.corundumstudio.socketio</groupId> <artifactId>netty-socketio</artifactId> <version>2.0.6</version> </dependency> <d ......
springboot socketio

SpringBoot 调用外部接口的三种方式

https://mp.weixin.qq.com/s?__biz=Mzg5MDUyNjQ0Ng==&mid=2247507189&idx=1&sn=3985735a3498ac5d509b67b91a653670&chksm=cfd9d374f8ae5a62e32bd6fa2c5a21a80a4ec ......
SpringBoot 接口 方式
共3287篇  :10/110页 首页上一页10下一页尾页