滑模 相位e-e 39

Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on columns in GROUP BY clause;only_full_group_by

这个报错的完整信息 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on ......

Program does not contain a static 'Main' method suitable for an entry point

http://www.kangry.net/blog/?article_id=391&type=article 修改办法,对着项目右键-》属性-》application-》output type设为Class Library即可。 ......
suitable Program contain method static

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found 一、问题现象 pom.xml 文件中有报红的错误提示,“Plugin 'org.springframework.boot:spring-boot-maven-p ......

python报错解决-ValueError: Trusted host URL must include a host part: '#!

删掉#后面的字符 参考: pip install总是报错:ValueError: Trusted host URL must include a host part: ‘#‘-CSDN博客 ......
host ValueError Trusted include python

ModuleNotFoundError: No module named 'conda.auxlib'

[ ~/software]$ condaTraceback (most recent call last): File "/ppp/software/Anaconda3.8/bin/conda", line 15, in <module> sys.exit(main()) File "/ppp/so ......

使用 'for' 循环遍历字典

内容来自 DOC[ https://q.houxu6.top/?s=使用 'for' 循环遍历字典](https://q.houxu6.top/?s=使用 'for' 循环遍历字典) d = {'x': 1, 'y': 2, 'z': 3} for key in d: print(key, '对应于 ......
字典 39 for

JavaScript中'??'和'?.'

??空值合并运算符 判断一直变量是否为'null'/'undefined',进行不同的返回值处理 console.log(1 ?? 2) // 1console.log(null ?? 2) // 2console.log(undefined ?? 2) // 2console.log(1 ?? 2 ......
39 JavaScript

找出名字中包含S的人的信息 like '%S%'; 以S开头的值 like '%S';以S结尾的值 like 'S%';

# 模糊匹配 %包含的值%select * from emp where ENAME like '%S%'; # 找出名称以S开头的人的信息select * from emp where ENAME like 'S%'; # 找出名字以第二个字母是O的人的信息select * from emp wh ......
39 like 开头 名字 信息

Django中出现报错:TypeError: unsupported operand type(s) for /: 'str' and 'str' 时的解决办法

如果遇到上述报错情况 解决办法: 1、点击报错路径,进入源码 2、将' / '替换为' , ' 3、再次运行Django 问题解决。 ......
39 unsupported TypeError str operand

[906] Replace NaN (Not-a-Number) values with 'Null' in Pandas

In Pandas, you can replace NaN (Not-a-Number) values in a DataFrame with None (Python's None type) or np.nan (NumPy's NaN) values. Here's how you can ......
Not-a-Number Replace Number Pandas values

为网站接入免费SSL证书let's encrypt 并实现自动续签功能

以ubuntu系统为例: 1.安装certbot: apt update apt upgrade sudo apt install certbot python3-certbot-nginx 2.验证Web服务器端口是否打开并允许通过防火墙 sudo ufw status verbose 3.获取S ......
证书 encrypt 功能 网站 SSL

python+playwright 学习-39.登录页面滑动解锁

前言 登录页面会遇到滑块解锁,滑动解锁的目的就是为了防止别人用代码登录(也就是为了防止你自动化登录),有些滑动解锁是需要去拼图这种会难一点。有些直接拖到最最右侧就可以了,本篇讲下最简单的直接滑动最右侧的滑块解锁。 滑动解锁场景 看下图,是我本地写的一个 slider.html 网页 除了输入账号和密 ......
playwright 页面 python 39

关于crontab运行脚本时报错KeyError: 'PATH'

最近在服务器上为let's encrypt证书添加自动续签计划任务时,发现总是不成功,但手动执行该计划任务所对应的sh脚本则没问题,这让我怀疑crontab执行时可能缺少了点什么导致的,想追踪一下crontab的执行日志,发现并没有,需要手动修改配置文件打开: sudo vim /etc/rsysl ......
脚本 KeyError 时报 crontab 39

Math teacher's homework 题解

preface 网上的题解看不懂,看代码看懂了 :) solution 考虑 \(\mathrm{x_i}\) 的倒数第 \(\mathrm{low_i - 1}\) 位到倒数第 \(\mathrm{1}\) 位可以乱选(选 \(\mathrm{0/1}\) 都满足 \(\mathrm{x_i \l ......
题解 homework teacher Math 39

报错:Could not resolve view with name 'xxx' in servlet with name 'dispatcherServlet' at org.springframework.web.servlet.DispatcherServlet.render

报错: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not resolve view with name 'xxx' in servlet with ......

ORA-01502: index 'xxx' or partition of such index is in unusable state

SELECT 'alter index ' ||INDEX_NAME || ' REBUILD;' INDEX_NAME, INDEX_TYPE, TABLESPACE_NAME, TABLE_TYPE, STATUS FROM DBA_INDEXES WHERE STATUS = 'UNUSABL ......
index partition unusable 01502 state

从链接器的角度详细分析g++报错: (.text+0x24): undefined reference to `main'

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' coll ......
reference undefined 角度 链接 text

Flask中render_template('index.html')查找index.html文件

问题:jinja2.exceptions.TemplateNotFound: index.html 解决方法如下: 普通: render_template('index.html'),其中index.html的查询是找创建app = Flask(name)文件的同级目录的templates中查找 注 ......
index html render_template template 文件

cdhit-common.h:39:17: fatal error: zlib.h: No such file or directory

001、问题 cd-hit 编译报错如下: cdhit-common.h:39:17: fatal error: zlib.h: No such file or directory 002、解决方法 yum -y install zlib zlib-devel 003、验证 [root@pc1 cd ......
cdhit-common directory common cdhit fatal

Argument for '--moduleResolution' option must be: 'node', Unknown compiler option 'verbatimModuleSyntax'.

node_modules/@vue/tsconfig/tsconfig.json(12,25): error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenex ......

King's Tour 题解

King's Tour 题面大意 在 \(n\times m\) 的网格中构造一种从 \((1,1)\) 走到 \((a,b)\) 的方案,要求经过所有格子恰好一次,格子之间八联通。 思路分析 模拟赛题,赛时写了一个半小时过了( 思路不是很复杂,但是需要一些分类讨论。 引理:对于任意大小的矩形,一定 ......
题解 King Tour 39

leaflet使用heatmap.js出现heatmap.js:527 Uncaught TypeError: Cannot assign to read only property 'data' of object '#<ImageData>'问题

一、问题背景 问题是这样发生的,因为项目中需要实现热力图的功能,所以使用了第三方的库 heatmap.js。 但是在一些浏览器中使用它时,会出现这个错误: > Uncaught TypeError: Cannot assign to read only property 'data' of obje ......
heatmap 39 TypeError ImageData Uncaught

'org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity' is deprecated

@EnableGlobalMethodSecurity(prePostEnabled = true) 已经被弃用了,最新的是:@EnableMethodSecurity。 file:[SecurityConfig.java] @Configuration @EnableWebSecurity add ......

Windows宝塔面板出错了,面板运行时发生错误! KeyError: 'list

先说办法就是回退,无论是Linux还是win这里就说win的办法1、先停止面板2、直接下载:https://dg2.bt.cn/win/panel/panel_7.7.0.zip3、解压4、覆盖panel5、启动解决 转自:【新提醒】【已完成】出错了,面板运行时发生错误! KeyError: 'li ......
面板 宝塔 KeyError 错误 Windows

[Err] 1292 - Truncated incorrect DOUBLE value: ''

执行的语句[SQL] insert into `hxl_hospital_info` ( `id` , `latitude` , `longitude` , `deleted` , `create_time` , `update_time`)select `id` , `latitude` , `l ......
Truncated incorrect DOUBLE value 1292

Backtrader - AttributeError: 'OptReturn' object has no attribute 'datas'

1.0 Error Traceback (most recent call last): File "D:/PycharmProjects/dbpower.backtrader.001/app/main_machine_learning.py", line 191, in <module> img ......

VScode使用MySQL插件老是Connect timeout,右下角还出现Cannot read properties of null (reading 'getPassword') error in vs code问题

安装了MySQL插件,一开始还用的好好的结果第二天就不行了真是鬼火直冒。 首先关闭vscode里面的自动更新:setting,搜索update,然后关闭application里面的自动更新; 我现在的版本是1.83.1,我在https://code.visualstudio.com/updates/ ......
getPassword properties 插件 老是 Connect

Codeforces Round 697 (Div. 3) B. New Year's Number

给出一个数 \(n\) ,询问能否存在 \(2020x + 2021y = n\) 。 对于方程 \(ax + by = n\) 可以直接解 \(exgcd\) 查询是否有解。 观察到 \(2020x + 2021y = n\) 可以化为 \(2020(x + y) + y = n\) 。不妨定为 ......
Codeforces Number Round Year 697

struct.error: 'H' format requires 0 <= number <= 65535

全部代码如下: from pymodbus.client import ModbusTcpClient # 避坑:write_registers和write_register函数差一个s。多一个s的参数用整型列表,没有的只能用整型 def split_float_to_integer_and_fra ......
requires struct format number error

It's likely that neither a Result Type nor a Result Map was specified.

It's likely that neither a Result Type nor a Result Map was specified. 很可能既没有指定结果类型也没有指定结果映射。 出现问题的代码: 本段代码功能是查询一张表的全部 点击查看代码 <mapper namespace="com.d ......
Result specified neither likely Type