is

MySQL5.6建索引时遇到 Specified key was too long; max key length is 767 bytes错误提示解决办法

解决方法 // 查看 show variables like "innodb_large_prefix"; show variables like "innodb_file_format"; //修改最大索引长度限制 set global innodb_large_prefix=1; 或 set g ......
Specified key 索引 错误 办法

mysql 报错which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'd.Id' which is not functionally dependent on columns in GROU ......

日常踩坑_maven打包显示user id 'xxx' is too big

背景提要 本身在win10下的环境,maven是可以正常打包的 但在一切未动的条件下,将项目放到了linux环境下,发现报了一个莫名其妙的错 goal org.apache.maven.plugins:maven-assembly-plugin:3.1.1:single failed: user i ......
maven 39 user big too

bat is not recognized as an internal or external command,

前言 写 BAT 批处理时,突然运行提示错误。 刚开始以为是,bat 对变量名长度限制。 不断调试,发现原来是结尾中文字符。(句号)的原因 源码 echo 文件存在。 set /p input=请选择: 错误: 'input' is not recognized as an internal or ......
recognized internal external command bat

WSL安装软件报错/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

原因 /usr/lib/wsl/lib/目录下都是文件而不是链接,且该目录只读,需要在其他目录操作 解决 cd /usr/lib/wslsudo mkdir lib2sudo ln -s lib/* lib2 更改wsl配置文件 sudo vim /etc/ld.so.conf.d/ld.wsl.c ......
lib ldconfig symbolic libcuda 软件

PostgreSQL数据库开启 a=null等价于a is null 功能

前言 PostgreSQL官方文档:http://www.postgres.cn/docs/11/functions-comparison.html 今天在预览PostgreSQL文档的时候看到了这个功能,平时写SQL都是a is [not] null来进行判断的,第一次见到可以这样,觉得挺新奇的就 ......
等价 null PostgreSQL 功能 数据库

Cannot invoke "Object.hashCode()" because "key" is null

奇葩问题,springboot+mybatis-plus 使用queryWrapper查询语句报错,Cannot invoke "Object.hashCode()" because "key" is null 使用的mybatis-plus-boot-start,3.3.2版本 jdk17 据说是 ......
quot hashCode because Cannot invoke

pip install报错"Can't connect to HTTPS URL because the SSL module is not available"

pip时install报错 一、故障现象 [root@jenkins /data/package/openssl-1.1.1n]# pip3 install emoji WARNING: pip is configured with locations that require TLS/SSL, h ......
quot available install connect because

office the language DLL 'VBE7INTL.DLL' is not be found

其实是缺少vba,安装组件就可以了 解决方案:在卸载程序的面板中,找到office,右键选择更改,选择添加或删除功能,勾选如下两项就可以了 记得关掉office后再打开就好了 ......
DLL language VBE7INTL office 7INTL

Dark Side Of The Moon Is More Luminous

Day -???? (2022/11/26) 一切都结束了 Day -??? (2023/4/1) 我做了一个一模一样的梦 Day -?? (2023/7/26) 我至少有一个月不会再做梦了 Day -? (2023/9/29) 我又开始仰望月亮了 Day -3 (2023/11/15) 我跌入了水 ......
Luminous Dark Side Moon More

[LeetCode] 2824. Count Pairs Whose Sum is Less than Target

Given a 0-indexed integer array nums of length n and an integer target, return the number of pairs (i, j) where 0 <= i < j < n and nums[i] + nums[j] < ......
LeetCode Target Count Pairs Whose

DeprecationWarning:on_event is deprecated, use lifespan event handlers instead.

问题说明: fastapi 启动之前执行代码,旧版本使用的是@app.on_event("startup"),不过在已经不推荐使用 @app.on_event("startup") async def startup_db(): create_all() 问题处理 通过 lifespan event ......

Error assembling WAR: webxml attribute is required

转:https://blog.csdn.net/wang124454731/article/details/69569165 1 maven打包的过程中的两个问题 1.1 The repository system is offline but the artifact com.zrw:zrw-pa ......
assembling attribute required webxml Error

uniapp开发[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.

如下,uniapp开发nvue页面报如下警告: 15:30:25.079 [Vue warn]: Unhandled error during execution of render function at <UniGroupclass="w710 cell_group bg_white borde ......
Vue Unhandled execution internals scheduler

Unity异常提示 Invalid worldAABB. Object is too large or too far away from the orgin.

Unity在编辑器退出EditMode进入PlayMode之前,调用了一次Start和Update,然后提供了空的数据。 这个时候容易造成除以0的情况,但是Unity没有立刻抛出异常,而是继续执行,生成了一个无穷大的数值。 ......
worldAABB too Invalid Object Unity

Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.nacos.naming.core.v2.service.impl.PersistentClie

一、从公司的的GitLab下载项目到本地 二、nacos-2.0.1 启动不了 我以为是我中文路径问题,然后放到全是英文的一样报错,百度一圈没找到解决方法。 三、大佬路过,瞟了我一眼的电脑解决了。 删除 D:\nacos-2.0.0\data 下面的所有文件即可 原因就是有人把自己的数据上传到git ......

FTP客户端提示「响应: 530 Valid hostname is expected.」可尝试的解决方案

响应: 530 Valid hostname is expected. 该响应的意思是“需要有效的主机名”,通常在 FTP 登录时出现。这个响应表示 FTP 服务器要求客户端提供一个有效的主机名,以便服务器能够识别它。如果出现该响应,可能是因为输入的主机名错误或服务器无法识别它。 解决方案 用户名前 ......

Linux系统奇安信浏览器报错跨域:the resource is in more-private address space 'local'

报错: Access to XMLHttpRequest at "123" from origin "456" has been blocked by CORS policy:the request client is not a secure context and the resource is ......

解决问题:Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.catalina.Context.addServletMapping(Ljava/l

因为有重复的jar 原因:springboot有自己的tomcat运行环境我们又在构件路径中添加了tomcat 解决方法:把项目构件路径中的tomcat给移除 ......

Makefile - What is a Makefile and how does it work?

If you want to run or update a task when certain files are updated, the make utility can come in handy. The make utility requires a file, Makefile (or ......
Makefile What does work and

微信小程序使用canvas导出图片时提示报错为canvasToTempFilePath:fail fail canvas is empty

uni使用小程序 时,组件里面有个canvas,页面上面也有一个canvs。组件里面的canvas想导出图片,报canvasToTempFilePath:fail fail canvas is empty。 在canvasToTempFilePath里面要加上第二个参数,传入this; uni.ca ......

failed to configure a datasource: ‘url‘ attribute is not specified and no em

问题场景 在Spring Boot中整合MySQL、Mybatis进行数据库开发时,按照正常步骤添加了相关数据库的依赖,也进行了必要的数据库配置,结果在项目启动时出现如下异常信息: *************************** APPLICATION FAILED TO START *** ......

TypeError: defineConfig is not a function

原因:由于用vue-cli直接创建了vue 3的项目,而里面的生态并非都是最新版,vue.config.js中的代码如下,使用了vue 3的语法: const { defineConfig } = require('@vue/cli-service') module.exports = define ......
defineConfig TypeError function not is

Human brain is awesome! (Transcripting notes and Practice my English writing

Copying may be valuable for learning math (see the story of Kunihiko Kodaira for more details), but always remember to copy with your heart - with you ......

3.ProxySQL Error: connection is locked to hostgroup 10 but trying to reach hostgroup 30

兼容问题,解决方案: 登上proxysql的管理端执行以下命令 set mysql-set_query_lock_on_hostgroup=0; 修改后,需要加载到RUNTIME, 并保存到disk load mysql variables to runtime; save mysql variab ......
hostgroup connection ProxySQL locked trying

uniapp运行启动时候出现 The current application is running in a custom debugging base....

突然出现这个,原来是uniapp说的自定义基座,是在app/src/main/assets/data/dcloud_contro.xml中 需要修改hbuilder标签中的debug的值,如果为true则会出现标题的提示,如果改为false则不会出现标题提示的弹窗 <hbuilder debug=" ......
application debugging current running 时候

python3 json.dumps(OrderDict类型) 报错:TypeError: Object of type datetime is not JSON serializable

chatgpt给出的解决方案, 在json.dumps()函数调用中传入default参数来指定如何处理datetime对象 import json from datetime import datetime def datetime_handler(obj): if isinstance(obj, ......

简单例子理解 Qt 中 QObject: Cannot create children for a parent that is in a different thread. 问题

c++ gui programming with qt 中关于 QThread的用法的限制 下面这句话的翻译不清 QObject is reentrant, but there are three constraints to keep in mind: Child QObjects must be ......
different children 例子 QObject Cannot