39

spring boot - 开启异步 @EnableAsync 启动报错 The bean 'xxx' could not be injected because it is a JDK dynamic proxy

解决 注解 @EnableAsync 修改为 @EnableAsync(proxyTargetClass = true) 如 ......
EnableAsync injected because dynamic spring

☀️Navicat连接Oracle:'ORA-12638: Credential retrieval failed' 解决办法

前言: 我们在使用Navicat连接Oracle数据库的时候,需要oci.dll动态链接库,Navicat16在安装时候已经自带了。 我在之前使用一直好好的,就今天需要连一个新项目的Oracle,报错了:ORA-12638: Credential retrieval failed',如下: 解决: ......
Credential retrieval Navicat 办法 Oracle

Cannot read property 'clearValidate' of undefined

Cannot read property 'clearValidate' of undefined ![](https://img2023.cnblogs.com/blog/1119068/202308/1119068-20230827143618946-1052389559.png) 这个错误是因 ......
clearValidate undefined property Cannot 39

How to get the Axios's response file type All In One

# How to get the Axios's response file type All In One > 获取 Axios 请求响应头中的文件类型 ## Axios `API` https://www.npmjs.com/package/axios ## demos ```js import ......
response Axios file type How

报错ValueError: Can't find 'adapter_config.json'

# 前言 在做组内2030项目时,我具体做的一个工作是对大模型进行LoRA微调,在整个过程中有许多坑,其中有些值得记录的问题,于是便产生了这篇博客。 # 问题 我在得到微调好的模型后,需要对模型进行性能测评。在加载模型时,遇到如下报错 ``` ValueError: Can't find 'adap ......
adapter_config ValueError 39 adapter config

【python】使用ddddocr模块报错处理:AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

- 安装 - pip install ddddocr安装特别慢,几kb每秒,而且容易超时报错 - 使用清华源下载:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ddddocr - 使用 ![](https://img2023.cnbl ......
39 AttributeError ANTIALIAS attribute 模块

ModuleNotFoundError: No module named 'torch._six'

ModuleNotFoundError: No module named 'torch._six' 由于torch 2.0版本没有这个模块,因此,只需要降低torch版本,就可以解决。 1)新建一个虚拟环境 2)安装低版本torch REF https://blog.csdn.net/wzwddkb ......
ModuleNotFoundError module named torch 39

Autofac报错No constructors on type 'xxx' can be found with the constructor finder

**No constructors on type 'JK.TitanData.Repository.Fact_Sales_GMVTargetTotalRepository' can be found with the constructor finder 'Autofac.Core.Activat ......

主从升级(mysql5.7.39-mysql8.0.25)

环境:OS:Centos 7当前数据库版本:5.7.39(主从目前启用了审计 server_audit.so,master_auto_position=1)计划升级的数据库版本:8.0.28 升级顺序:先升级从库 ########################从库机器上的操作########### ......
主从 mysql mysql5 mysql8 7.39

vue3 报错 and 'localEnabled' does not exist in type 'ViteMockOptions'

报错:ReferenceError: require is not defined 原因: 通过命令行 pnpm install -D vite-plugin-mock mockjs 安装得vite-plugin-mock 之后发现再vite.config.ts里边报错 vue3+vite安装vit ......
39 ViteMockOptions localEnabled exist vue3

Spring源码搭建导依赖时报错:Failed to apply plugin 'kotlin'.

原因是kotlin插件的版本与gradle中指定的版本不一致,我的是1.8.0,spring5.3.x版本gradle配置文件指定的kotlin版本是1.5.32,修改成1.8.0 ![](https://img2023.cnblogs.com/blog/2135157/202308/2135157 ......
源码 时报 Spring Failed plugin

python 中 if __name__ == '__main__'

当我们编写 Python 模块时,有时候需要让某些代码只在该模块作为主程序运行时才执行,而不是被其他模块 import 引入时就执行。这时候可以使用 if __name__ == '__main__' 这个条件语句。 什么是 name 变量 在 Python 中,每个模块(Python 文件)都有一 ......
python 39 name main if

Winter '24发布在即,Salesforce Flow中的最热功能不容错过!

Flow Builder作为自动化领域的新秀,它在功能方面已经远远超过Workflow Rules和Process Builder,随着Workflow Rules和Process Builder的退役,目前所有自动化都需要迁移到Flow。 Winter '24发布在即,Flow中的亮点功能不容错过 ......
Salesforce 错过 功能 Winter Flow

ModuleNotFoundError: No module named 'qrcode'

W File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare dist = self._prepare_distribution() F ......
ModuleNotFoundError module qrcode named 39

提醒"libc.so.6: version `GLIBC_2.14' not found"系统的glibc版本太低

1.查看系统glibc支持的版本: strings /lib64/libc.so.6 | grep GLIBC_ GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLI ......
quot version 版本 系统 GLIBC

Troubleshooting waits for 'enq: TX - allocate ITL entry' (Doc ID 1472175.1)

| Troubleshooting waits for 'enq: TX - allocate ITL entry' (Doc ID 1472175.1) | header | | | | | | | In this Document Symptoms Cause Solution Increase ......

error: undefined reference to `cv::imread(cv::String const&, int)' 解决方法

方法1 原文链接:https://blog.csdn.net/WhiteLiu/article/details/72901520 编译时出现下列错误: undefined reference to 'cv::imread(cv::String const&, int)' undefined refe ......
undefined reference 方法 String imread

Why I can't registration gitlab runner? / 为什么我无法注册 gitlab runner?

当我又一次要搞 CI/CD 时,却怎么都想不起来如何注册,看下方截图: 最后求助同事,发现是我浏览器背景颜色的问题,更换了颜色之后,看下方截图: 真相大白了!哭晕在厕所 ......
gitlab runner registration Why can

WebDriver.__init__() got an unexpected keyword argument 'desired_capabilities'

我的selenium的版本是4.11.2selenium4.10中已经不支持desired_capabilities参数如果要传这个参数的话建议用 selenium==4.9.1参考《Appium新版本引发的一个问题》 ......

navicat 连接 mysql 连接出现Authentication plugin 'caching_sha2_password' cannot be loaded

1.进行mysql bin中打开cmd登录 mysql -uroot -proot1 2.修改加密规则 ALTER USER 'root'@'localhost' IDENTIFIED BY 'root1' PASSWORD EXPIRE NEVER; 3.更新一下用户的密码 ALTER USER ......

Python基础入门学习笔记 051 模块:__name__='__main__'、搜索路径和包

模块!模块! 实例1:为TemperatureConversion添加测试程序(TemperatureConversion被作为程序运行) 1 def c2f(cal): 2 return cal * 1.8 + 32 3 4 def f2c(fah): 5 return (fah - 32)/1. ......
路径 模块 基础 笔记 Python

pip install --no-cache-dir -r requirements.txt 报错ImportError: cannot import name '_get_object_size' from 'bson' (/usr/local/lib/python3.11/site-packages/bson/__init__.py)

错误如下: Traceback (most recent call last): 2023-08-23 10:29:47 File "/app/main.py", line 12, in <module> 2023-08-23 10:29:47 from base.MongoDb import Mo ......

P6 UVA11038 How Many O's?

## UVA11308 How many O's 可以说很经典的数位DP。 但是有一种有趣的更快的做法: 将问题变化一下,如果对于第 $i$ 位,把它变为 $0$ ,那么由于不能有前置 $0$ 且保证构造出的数不能大于原数,所以比 $i$ 大的位就是 $1—那么多$。额,不好说,比如要求 $0到11 ......
11038 Many How UVA P6

Ubuntu 20.04编译opencv-3.1.0时报错 error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope

Ubuntu 20.04源码编译安装opencv320 报错 error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope的解决办法: 修改/opt/opencv/opencv-3.2.0/modules/videoio/src/c ......

全网最不墨迹解决方法,使用python3 worksheet.save()方式 出现:Test_list.worksheet.save("test_list.xlsx") AttributeError: 'Worksheet' object has no attribute 'save'

这是因为Worksheet对象没有save方法。要保存Excel工作簿,你需要使用Workbook对象的save方法。 下面是一个修正后的示例代码: from openpyxl import Workbook # 创建一个工作簿 workbook = Workbook() # 选择默认的活动工作表 ......
worksheet save 墨迹 39 list

\1146 - Table 'performance_schema.session_variables' doesn't exist

Mysql无法正常连接: 错误原因:Navicat Premium :\1146 - Table 'performance_schema.session_variables' doesn't exist 解决办法 [root@zookeeper1 usr]# mysql_upgrade -u roo ......

Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range

在使用浏览器内置API btoa() 编码base64时: 报错Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range 报错信息解释: ......
39 characters contains execute encoded

运行 'RuoYiApplication' 时出错: 模块 'ruoyi-admin' 没有 JDK

项目运行良好,关机重新打开项目时出现 “运行 'RuoYiApplication' 时出错: 模块 'ruoyi-admin' 没有 JDK”导致运行失败,经检查项目中已经配置SDK 解决办法:重新加载Maven,或者直接点项目右侧的刷新按钮 ......
39 RuoYiApplication ruoyi-admin 模块 ruoyi

解决python错误 UnicodeDecodeError: 'gb2312' codec can't decode byte 0x8b in position 1: illegal multibyt

报错的代码: url= 'http://kaijiang.500.com/shtml/ssq/19001.shtml' page =urllib.request.urlopen(url) content = page.read().decode('gb2312') 报这个错的原因是获取到的网页内容是 ......

Cause: java.sql.SQLException: Field 'id' doesn't have a default value Field 'id' doesn't have a default value; nested exception is java.sql.SQLException: Field 'id' doesn't have a default value

报错内容: 是因为实体类文件中设置主键自增的类型不对导致的,建议再温习一下逐渐自增的类型以及使用方式 我自己的实体类里面设置的IdType为auto,但是主键id是char类型的,还不是int数值类型,所以无法设置为自增 这里需要换成 IdType.ID_WORKER_STR @ApiModelPr ......
39 default SQLException Field doesn