springboot错误

KingbaseES V8R6 集群运维案例 -- 集群备份到nfs共享存储初始化错误

案例说明: 在主备库建立nfs共享存储的文件系统,作为sys_rman备份的repo-path,在备库作为repo-path节点执行备份,出现数据库连接到'5432端口的错误',数据库实际的服务端口为54321。 适用版本: KingbaseES V8R6 节点信息: [kingbase@node1 ......
集群 KingbaseES 备份 错误 案例

spring boot一些常见错误的解决

数据库连接问题: 报错信息:HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=32m2s204ms265µs299ns). 解决办法:链接 jedis连接问题: 报错信息:An exceptionCa ......
常见 错误 spring boot

joi 自定义错误提示

<template> <div> <div class="bg-white rounded-lg font-light w-96 shadow p-4"> <div class="text-center text-lg mb-4">后台管理系统</div> <form @submit.prevent ......
错误 joi

Springboot 全局日期时间格式处理

From: https://www.cnblogs.com/Baker-Street/p/16156297.html 大家伙在日常开发中可能都遇到过,前端传递的时间字符串,后台如果用日期接收(Date或者jdk8的Local日期)接收,经mvc接收后就报错了,先解析原因: 1. get请求和post ......
全局 Springboot 日期 格式 时间

【精品】SpringBoot统一日期类型处理

From: https://blog.csdn.net/lianghecai52171314/article/details/127106664 方案一:给日期字段添加注解/** * 创建时间 *///返回时间类型@JsonFormat(pattern = GlobalConst.DATETIME_ ......
SpringBoot 日期 类型 精品

SpringBoot集成openGauss

1.pom依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <depend ......
SpringBoot openGauss

SpringBoot + MDC 实现全链路调用日志跟踪

简介:MDC(Mapped Diagnostic Context,映射调试上下文)是 log4j 、logback及log4j2 提供的一种方便在多线程条件下记录日志的功能。MDC 可以看成是一个与当前线程绑定的哈希表 ,可以往其中添加键值对。MDC 中包含的内容可以被同一线程中执行的代码所访问 。 ......
链路 SpringBoot 日志 MDC

3种 Springboot 全局时间格式化方式,别再写重复代码了

From: https://developer.aliyun.com/article/771395 简介: 别再写重复代码了 本文收录在个人博客:www.chengxy-nds.top,技术资料共享,同进步 时间格式化在项目中使用频率是非常高的,当我们的 API 接口返回结果,需要对其中某一个 da ......
全局 Springboot 代码 方式 格式

【Azure 存储服务】访问Azure Blob File遇见400-Condition Headers not support错误的解决之路

This XML file does not appear to have any style information associated with it. The document tree is shown below. ......
Azure Condition 错误 Headers support

KingbaseES数据库安装PostGIS扩展GEOSUnaryunionPrec错误

一、问题现象: KingbaseES V008R006C007B0012数据库集群安装PostGIS扩展插件报错。 create extension postgis; ERROR: could not load iibrary "/opt/kingbase/cluster/kingbase/lib/ ......

Win10安装虚拟机错误"Intel VT-x处于禁用状态"解决方法(win10开启VT-x步骤)

有很多朋友在使用电脑过程中都需要虚拟机的应用,在Win10下有些朋友在安装虚拟机的时候会遇到错误提示,已将该虚拟机配置为使用64位客户机操作系统,但是无法执行64位操作,此主机支持Intel VT-x,但Intel VT-x处于禁用状态,如下图 这个问题我们只需要到BIOS中开始Intel VT-x ......
VT-x quot 步骤 状态 错误

springboot编译失败

拉了一个新分支从master环境 然后编译不通过了 java: You aren't using a compiler supported by lombok, so lombok will not work andhas been disabled.Your processoris: comsun ......
springboot

springboot线程池底的使用

1.简单使用 一、配置类 @Configuration @EnableAsync public class SpringAsyncConfig { @Bean("taskExecutor") public Executor asyncServiceExecutor() { ThreadPoolTas ......
池底 线程 springboot

springboot 配置 mysql

pom.xml: <!-- database --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <d ......
springboot mysql

linux部署springboot

安装jre 第一步:查看Linux系统中是否已存在JRE 首先,我们需要查看Linux系统中是否已经安装了Java运行时环境。我们可以使用命令“ java –version”来查看,如果终端提示“command not found”,则表明JRE未安装;如果显示java版本信息,则表明已安装JRE。 ......
springboot linux

php 执行报错 icu4c错误

以上报错,只需要icu4c这个库,跟php的并无关系,php只是依赖这个lib。 起因是:brew 自动升级了 icu4c这个库, 原始安装 brew install icu4c ,被升级到了icu4c73版本了。 所以,这里只需要找到 icu4c的 72版本 ,编译安装之后,把生成的文件copy到 ......
错误 icu4c icu4 php icu

远程连接服务器时出现“这可能是由于CredSSP加密数据库修正”的错误提示的解决办法

当我们远程连接服务器时,有时候会出现以下提示,从而导致我们无法成功连接服务器,如下所述: 原因: 远程桌面使用的是“凭据安全支持提供程序协议 (CredSSP) ”,这个协议在未修补的版本中是存在漏洞的。 于是微软在 2018 年 3 月 13 日在补丁中解决了这个问题,但是默认并没有强制使用新的协 ......
错误 CredSSP 办法 服务器 数据库

SpringBoot 后端配置 Https 教程

以阿里云为例子 1. 申请 SSL 证书 1. 注册域名 打开阿里云官网,搜索域名 点击域名注册,输入域名,点击搜索 选择心仪的域名,点击购买,打钱 进入域名控制台,进行实名认证 2. 申请 SSL 证书 打开阿里云官网,搜索 SSL 证书 点击免费证书,领取 20 张券(一年可以领 20 张,可以 ......
SpringBoot 教程 Https

【原创】BGP常见的邻居错误代码

BGP建立邻居的常见错误代码 在BGP建立邻居的过程当中,若邻居建立有问题,则会在BGP的Notification报文中出现常见的几种Error code 和 Error subcode。综合罗列如下: 错误的三大类型! (a)Message Header Error,其中Error Code为1, ......
邻居 常见 错误 代码 BGP

聊聊springboot自动装配出现的TypeNotPresentExceptionProxy异常排查

前言 正文开始前,我们做个小测试,假设我们封装了一个springboot starter,其自动装配类形如下内容 @Configuration @EnableConfigurationProperties({ApolloRefreshProperties.class}) public class A ......

Springboot使用@value获取配置文件参数

使用@value获取yml参数值 @Value("${value}") // 多级使用 . 连接 例:${value.value} private String value; @value获取不到值的情况 // 错误1:使用了static或者final修饰value private static S ......
Springboot 参数 文件 value

Springboot中使用线程池的三种方式

前言 多线程是每个程序员的噩梦,用得好可以提升效率很爽,用得不好就是埋汰的火葬场。 这里不深入介绍,主要是讲解一些标准用法,熟读唐诗三百首,不会作诗也会吟。 这里就介绍一下springboot中的多线程的使用,使用线程连接池去异步执行业务方法。 由于代码中包含详细注释,也为了保持文章的整洁性,我就不 ......
线程 Springboot 方式

springboot中配置druid的依赖,与application.yml中设置druid的相关配置

2023-09-18 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.2.16</version> </dependency> appl ......
druid application springboot yml

SpringBoot 启动时报错Unable to start embedded Tomcat

导读 最近公司有个gradle构建的工程,需要改造成maven方式构建(点我直达)。转为maven后,启动时一直报tomcat错误,最终排查是因为servlet-api这个包导致的依赖冲突,将这个依赖排除即可启动 解决 排除依赖,检查项目是否包含:javax.servlet-api <exclusi ......
SpringBoot embedded 时报 Unable Tomcat

Springboot简单功能示例-5 使用JWT进行授权认证

博主尝试通过gitee的发行版,使用Springboot为基础框架,逐步整合JWT、JPA、VUE等常用功能项目。【本节完成】使用JWT规范完成登录、确权、登出等操作,分别对html请求和json请求进行处理 ......
示例 Springboot 功能 JWT

启动一个springboot项目

最终效果 在idea中 package com.fqs.helloworld.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.anno ......
springboot 项目

【错误异常】The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".

The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+". 服务启动异常 排查mapper.xm ......
quot cache parameterMap cache-ref resultMap

springboot中文件上传的controller与配置的文件上传的最大容量

2023-09-18 package com.hh.controller; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Controller; import org.springframework.w ......
文件 springboot controller 容量

springboot整合elasticsearch-RestHighLevelClient api查询

1. 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </dependency> <dependen ......

Linux安装字体 java生成pdf中文乱码或提示未安装字体错误

当使用java在生成pdf或者图片时,如生成的文档包含有中文在inux上运行,会出现未安装字体的错误活字体乱码,此时需要我们在服务器上安装中文字体: 1、首先先看是否安装中文字体: fc-list :lang=zh -bash: list-fc: command not found 如出现上边提示, ......
字体 乱码 错误 Linux java