TO

No active profile set, falling back to 1 default profile: "default"

报错显示 解决办法 效果 ......
profile default quot falling active

How to SupressWarnings for Sonar Security Hotspots?

How to SupressWarnings for Sonar Security Hotspots? Sonarlint/SonarQube allows you to use comments for disabling analysis in specific lines. In order ......
SupressWarnings Hotspots Security Sonar How

How to use ESM & TypeScript in Node.js All In One

How to use ESM & TypeScript in Node.js All In One { "compilerOptions": { "module": "NodeNext", // "module": "Node16", } } { "name": "esm-ts-package", ......
TypeScript Node How ESM All

SpringBoot 启动时报错Unable to start embedded Tomcat

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

spring boot 在Linux下服务启动报错Unable to find Java

前言: 最近在开发项目的过程中遇到了一些坑(也可能不是坑,是自己没弄过导致折腾了很久),我们项目中遇到有用到一些第三方的库,有些第三方库可能不支持openjdk,只支出jdk,所以就要更换一下jdk,然后服务器又是之前的前同事配置的,这时候我把服务器的jdk版本从原来的openjdk1.7换成了官方 ......
spring Unable Linux boot Java

webpack打包报错:Unexpected token (Note that you need plugins to import files that are not JavaScript)

关于这个问题,我在网上查找了一些资料(博客、问答),得到的答案多种多样: 1. 可能是缺少rollup的某种plugin; 2. 可能是系统环境的问题(windows/linux/macos); 3. 可能是某段代码引起的问题; 4. 。。。 经过对自身情况的逐步测试定位,发现 -> 出问题的代码片 ......
that Unexpected JavaScript webpack plugins

yarn 出现 【 info There appears to be trouble with your network connection. Retrying... 】超时问题解决

第一种解决方案 # 调整为taobao镜像源 yarn config set registry https://registry.npm.taobao.org 我用了没用,可以试试 第二种解决方案 要在项目根目录下创建后缀名为 .yarnrc 的文件,并设置 network-timeout 的值为 ......
connection Retrying appears network trouble

ubuntu vscode cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system headers.C/C++(1696)

cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system heade ......

How to Set the Default Gateway on Ubuntus

ip route list ip r | grep default sudo ip route add default via 10.10.1.1 sudo ip route add default via 10.10.1.1 dev enp0s3 sudo ip route delete defa ......
Default Gateway Ubuntus How Set

delegate IDE buildrun actions actions to Maven

IDEA中的maven项目下,可能出现这种情况:代码编辑器中无编译错误,通过maven 的clean 、compile、package进行各种操作也都没问题,但是单击绿色箭头运行(默认会先执行IDE本身的Build操作)却报:程序包xxx不存在 使用IDEA运行maven项目,代码没有编译错误运行却 ......
actions delegate buildrun Maven IDE

【ERROR: Could not find a version that satisfies】【ERROR: No matching distribution found for】【ERROR: Could not install packages due to an OSError:】

pip包安装出错 真是把我烦死了,在yt上学东西,结果一直出这样的错,之前我都是把包下载到本地安装的,这也不是长久之计。 然后我试了使用 -i,使用--trusted-host,使用--user,使用--upgrade pip...全都不管用。 后来我想,究竟是什么时候出现这个问题的,好像很久之前就 ......
ERROR Could distribution not satisfies

【uniapp】【微信小程序】wxml-to-canvas

真是搞吐了,研究了整整两天,困死我了 本来使用生成二维码插件好好的,插件页也支持导出二维码图片,可是领导说要带上文件的名称,那就涉及html转图片了,当然也可以改二维码插件的源码,不过源码做了混淆,看晕了,放弃了。 试了将微信的原生插件wxml-to-canvas引入uniapp项目,最后捣鼓了好久 ......
wxml-to-canvas 程序 uniapp canvas wxml

odoo to account move

all model: stock_valuation_layers._check_company()self._check_company() stock.valuation.layer => account.move stock_valuation_layers._validate_account ......
account odoo move to

linux DVWA 文件上传之 Security level set to high

-- 总体步骤 1、生成图片木马 2、上传图片木马 3、通过文件包含执行图片马 一、生成图片木马 1、随便准备一张图片——football.png 2、test.php写入内容: <?php @eval($_GET['x']); ?> 3、生成图片木马,命令行执行: cat football.png ......
Security 文件 linux level DVWA

Adding API Key Authentication to a FastAPI application

https://joshdimella.com/blog/adding-api-key-auth-to-fast-api Step 1: Define a List of Valid API Keys API_KEYS = [ "9d207bf0-10f5-4d8f-a479-22ff5aeff8d ......

解决错误 org.apache.ibatis.type.TypeException: The alias xxx is already mapped to the value xxxxx

具体错误信息如下:其实就是此类名和其他包有冲突 那么解决办法就是声明一个别名就好了:使用注解 解決办法 ......
TypeException 错误 already apache ibatis

Could not create connection to database server.] with root cause

场景: 这几天在学springboot,入门引用mybatis遇到一些问题。排查了半天,真的哭死,记录一下。问题如题。 解决: 主要是mysql驱动不同导致的。我连接的mysql是8.0.22,然后我pom中的mysql驱动版本是5.0什么的,害得我看xml看了半天。改一下就好。 参考: https ......
connection database create server Could

通过docker-compose安装milvus遇到无法连接etcd的问题no route to host

通过docker-compose安装milvus发现milvus-standalone老是报错no route to host 连接不到etcd然后等一会milvus-standalone就挂了 后来发现是服务器上的iptables设置有问题 需要在如下sh脚本中设置 br-7cedb15ab1cf ......
docker-compose compose docker milvus 问题

MySQL 切换数据库、用户卡死:“You can turn off this feature to get a quicker startup with -A“处理方法【转】

数据量很大的话,常规切换数据库会把里面所有的表遍历一遍,会很慢甚至是卡死。 解决方法:登录的时候直接在最后面加一个 -A 就行了。 [root@localhost ~]# "/usr/local/mysql-8.0.11/bin/mysql" -uroot -p123456 -A 实战演示:我演示的 ......
用户卡 feature quicker startup 数据库

How to fix Fetch TypeError in Node.js All In One

How to fix Fetch TypeError in Node.js All In One TypeError: terminated at Fetch.onAborted (node:internal/deps/undici/undici:11000:53) ......
TypeError Fetch Node How All

How to fix macOS Finder not support semicolon symbol in filename error All In One

How to fix macOS Finder not support semicolon symbol in filename error All In One macOS Finder 不支持文件名中包含 : 分号 bug ❌ ......
semicolon filename support Finder symbol

新版IDEA 出现ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to com.sun.tools.javac

报错场景项目中使用lombok或者mapStruct,运行项目时报错运行某些较旧的代码,报错java.lang.ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to com.sun.tools.javac.processing.Ja ......
ClassCastException com sun cannot Proxy

The server is temporarily unable to service your request due to maintenance

访问不了 就是这个路径没有通 有几下几点 最重要的就是 看一下你的路径有没有错 主要就是看一下你服务器的端口号是不是变更了 或者就是你的ip、 第二点 就是看一下你的服务器有没有启动 这两点是最主要的 ......

c gtk3写demo的时候,出现一大串(.text+0xxx): undefined reference to `xxx'错误。

错误内容 (.text+0x4b): undefined reference to `gtk_window_get_type' 环境 开发工具:IDEA GTK: mingw-w64-x86_64-gtk3 解决方法 前提是你已经按照GTK按照教程进行按照过GTK了 第一种 排查cmake的变量是否 ......
reference xxx undefined 错误 时候

How to use Node.js rename files in folder All In One

How to use Node.js rename files in folder All In One fs.rename fs.renameSync fsPromises.rename ......
folder rename files Node How

解决方法:ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory

在使用windows系统用pip命令安装ipyparallel时,出现了这种错误: ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\Users ......

QSqlTableModel.insertRecord()报错"No Fields to update"解决记录 && QField构造

问题的出现 当我想向一个Table中插入一条记录时,我本能的想的是:QSqlTableModel是由一条一条的Record组成的,那么我先创建一个Record,并且赋予对应的值,然后再使用QSqlTableModel::insertRecord()插入就好了,代码如下: QSqlRecord rcd ......
quot QSqlTableModel insertRecord amp Fields

How to parse OR AND within text

假设你有一行 String condition = "A or B and C"; 语句,请问怎么做才能变成一行真正的逻辑表达式(能在计算机中运行计算)? Resolution 声明一个List<List<String>>结构; 先分割 or ; 变成 [ A, B and C ] 不包含and的, ......
within parse text How AND

刘贵庆网站已变更 liuguiqing.com.cn to liuguiqing.com

由原来的: https://www.liuguiqing.com.cn 改为了: https://www.liuguiqing.com www.liuguiqing.com.cn to https://www.liuguiqing.com ......
liuguiqing com 网站 cn to

doris建表报错 errCode = 2, detailMessage = Scale of decimal must between 0 and 9. Scale was set to: 10

doris建表报错 问题背景 当我从Mpp库向doris库中导数据时,需要先创建对应的数据表,将Mpp库中表的建表语句略作修改后,在doris服务器上运行 CREATE TABLE opt_connect_box_v8 ( CNT_BOX_ID char(72) NOT NULL, CNT_BOX_ ......
表报 Scale detailMessage decimal between