quot 39 nullptr null

解决:Mybatis-plus使用selectList查询数据为null

使用mybatis-plus的selectList查询数据封装进list 打印为null javaben和数据库字段也能对应上 原因 可以从图片看的出来 数据其实已经查询出来 三条数据 打印list集合 打印了三个null 说明数据没有封装进去 那就是javaben的问题 mybatis-plus默 ......
Mybatis-plus selectList Mybatis 数据 plus

2023-05-29 Cannot read property 'access_token' of undefined

调用微信小程序登录接口,返回Cannot read property 'access_token' of undefined,即access_token未定义,登陆失败了,没有返回这个字段。 解决方案:把开发人员添加到小程序的开发者名单里去就可以了。 ......

SpringBoot单元测试出错:No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalancerProperties'

### 问题详情: ``` java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalan ......

java 操作 mysql -报错 LockException: Failure obtaining db row lock: Table 'xxx' doesn't exist

1.背景 Java 使用mybatis plus 操作mysql 报错 原因是 mysql 开启了 表明区分大小写 MySQL在Windows下都不区分大小写,但是在Linux下默认是区分大小写的。 在mysql 执行指令 show variables like '%lower_case%'; 需要 ......
LockException obtaining 39 Failure Table

报错ImportError: cannot import name 'Iterable' from 'collections' in Python

参考https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python 答案为 3.10版本的python把Iterable从collectio ......
39 ImportError collections Iterable cannot

Synology Drive Client 报错 "连接失败。请检查您的网络设置并再试一次。"

Synology Drive Client在连接Drive 时报错 "连接失败。请检查您的网络设置并再试一次。"但是5001端口是开着的 ![image-20230528125330110](https://cdn.jsdelivr.net/gh/Crazy-FuQing/image/image-2 ......
quot Synology Client Drive 网络

python -- 解决连接sqlserver出现的“ pymssql._pymssql.OperationalError: (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist”问题

因为工作关系,近期需要用python连接sqlserver处理一些数据问题。 由于笔记本上的软件是新安装的,所以有些配置避免不了重新设置,期间遇到一些小问题,记录一下。 下面正式开始 写一段代码,测试sqlserver数据库连接 import pymssql # 写法1# conn = pymssq ......

China's digital economy achievements impress foreign youth

GUIYANG, May 27 (Xinhua) -- The ongoing China International Big Data Industry Expo 2023, held in southwest China's Guizhou province, has attracted att ......
achievements digital economy impress foreign

ModuleNotFoundError: No module named 'requests' 解决方案

ModuleNotFoundError: No module named 'requests' 一般就是没导入库,可以在脚本当前目录下,运行一下代码: pip install request # 同理,如果别的库缺漏,就把request替换掉 我是在vscode里面跑的python,所以就用的pow ......

kubernetes1.20版本 nfs-provisioner报错问题:"selfLink was empty"

Kubernetes升级为1.20版本后,原有的后端nfs存储storageclass无法自动创建pv。 查看PVC状态一直为pending状态,查看nfs-provisioner日志 kubectl logs nfs-client-provisioner-5f696dc8bb-qhmsn E011 ......

NetCore 启动地址配置详解 UseUrls("xxxx") > 环境变量 > appsetting.json配置urls>默认地址

NetCore 启动地址配置详解 原文链接:https://blog.51cto.com/u_15127582/2781067 背景程序在发布部署时候,设置环境ASPNETCORE_URLS不生效,也没在代码里使用UseUrls("xxxx"),启动一直是http://localhost:5000. ......
地址 quot 变量 appsetting gt

[犯病记] DPDK报错Symbol `rte_eth_devices' has different size in shared object, consider re-linking

# [犯病记] DPDK报错Symbol `rte_eth_devices' has different size in shared object, consider re-linking > 背景:有一天,我犯了个病,试图在一个机器上安装DOCA,然后安装程序就下了一堆库,把机器上的环境搞得一团 ......

el-date-picker type="daterange" 二个日期之间的range-separator样式

中间的这个“至”的颜色设置 从源代码中可以看出: 这样中间的字的颜色就改为白色了。 ......

为什么"5".compareTo("10")>0

在 Java 中,字符串的 compareTo() 方法是用于比较两个字符串的大小关系的,它返回一个整数值,表示两个字符串的大小关系。对于字符串 "5" 和 "10",compareTo() 方法会先比较它们的第一个字符,即 "5" 和 "1",因为 "5" 的 ASCII 码值比 "1" 大,所以 ......
quot compareTo 10 gt

Plugin 'maven-clean-plugin:3.1.0' not found

解决方案 增加如下代码: <groupId>org.apache.maven.plugins</groupId> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifact ......
maven-clean-plugin Plugin plugin maven clean

Vue computed出现Error in render: "TypeError: XXX is not a function"问题

原来: computed:{ currentTimeA: function() { return Date.now(); } } <div>{{currentTimeA()}}</div> 在运行的时候出现vue.js:634 [Vue warn]: Error in render: "TypeEr ......
quot TypeError computed function render

python flask 启动报错 'utf-8' codec can't decode byte 0xb2 in position 4: invalid start byte

原因:在python下lib文件夹里的socket.py文件中的name=gethostname()代码执行获取本机电脑名称时,遇到中文导致乱码报错。 解决方法: 1.将电脑“设备名称”中中文改为英文; 2.修改socket.py代码,如下(参考 https://blog.csdn.net/weix ......
byte 39 position invalid python

day 39 素数

1.给出start与end; 2.有数i,遍历start~end中的素数; 3.输出; #include <iostream>#include<cmath> using namespace std; int main(void){ int m,n; int flag; printf("请输入star ......
素数 day 39

Python - matplotlib 不显示中文 && findfont: Font family ['simsun'] not found

# 一.发现问题 python matplotlib.plt 使用 plt.title 写标题时,标题显示为方框,无法正常显示中文,遂开始修复之旅。 ![](https://img2023.cnblogs.com/blog/2864832/202305/2864832-202305261554041 ......
matplotlib amp findfont Python family

前端vue中实现文件下载的几种方法 四种方法, a.download = "重新下命名下载文件名"

前端vue中实现文件下载的几种方法 原文链接:https://blog.csdn.net/weixin_46074961/article/details/105677732 第一种 前端创建超链接,通过a标签向后端发送get请求,需要给a标签添加一个download属性 这种写法是创造了一个a标签, ......
文件 方法 quot 前端 文件下载

x509: cannot validate certificate for xxx because it doesn't contain any IP SANs

项目中有时候需要访问https网站,但如果该网站使用的是自建证书,那client端验证server端证书时,有时候会报错: > x509: cannot validate certificate for xxx because it doesn't contain any IP SANs 碰到这种情 ......
certificate validate because contain cannot

Module '"element-plus"' has no exported member 'ElMessage'

tsconfig.json,tsconfig.app.json,tsconfig.node.json都要加 "compilerOptions.moduleResolution":"node", 然后重启vscode ......
39 quot element-plus ElMessage exported

C++中extern "C"的使用

由上一篇博客知识可得,C++中对符号表中符号的生成方式是不一样的,所以我们需要一种兼容方式处理他们 上篇博客地址:https://www.cnblogs.com/woodx/p/17434227.html 但是如果我们需要沿用C的代码,需要链接静态库或动态库的时候,是不是会发生冲突呢 因此需要提前声 ......
quot extern

c++打卡练习(39)

验证2000以内哥德巴赫猜想 2000以内,大于4的所有偶数都可以由两个素数a,b相加得到,求出a最小的那个的结果 流程图: 伪代码: 源代码: #include<iostream>using namespace std;int judge(int a){ int j,k=0; for(j=2;j< ......

dataFrame['col_name'].str.contains(str_name,case=False)用法

#### dataFrame['col_name'].str.contains(str_name,case=False)用法 主要功能:在`dataframe`某一列中找到包含特定字符串的`dataframe` 例如: ![](https://img2023.cnblogs.com/blog/258 ......
name dataFrame str col_name contains

OEM报错"Compliance score 51% is below critical threshold"

OEM报错"Compliance score 51% is below critical threshold" 具体邮件报警如下: 点击链接,打开oem网页端,点击“查看相容性标准结果”: 选中其中一个安全建议,可以看到下边一般信息中建议打上安全补丁31720783,该补丁是linux版本的Orac ......
quot Compliance threshold critical below

找不到“element-plus/global”的类型定义文件。 程序包含该文件是因为: 在 compilerOptions 中指定的类型库 "element-plus/global" 的入口点

**问题描述** 在tsconfig.json文件里types字段添加"element-plus/global"后出现报错。 **问题原因** TS升级到5.x带来的规范性问题。可以通过npm view typescript version命令查看下你的TS版本。 ![](https://img20 ......
element-plus element 类型 文件 global

python:Error: EPERM: operation not permitted, mkdir 'F:\Program Files\nodejs\node_global\node_modules'报错

可以发现文件没有权限 npm ERR! Error: EPERM: operation not permitted, mkdir 'F:\Program Files\nodejs\node_global\node_modules' 将nodejs的文件权限改为完全控制 之后操作即可 ......

A Knight's Journey

[ 提交 ] [状态] 题目描述 The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the w ......
Journey Knight 39