quot characters literal error

yum卸载的时候要带上参数 "--nodeps"

今天通告的一个误操作,说DBA在生产上yum安装了一个MySQL,后面又觉得版本不合适,直接yum remove了,导致服务故障异常。 复盘是因为,yum remove的时候不单是把他安装的MySQL给卸载了,还把MySQL涉及到的依赖给卸载了。缺乏这些依赖,导致服务器上其他服务异常。 说明: To ......
quot 参数 时候 nodeps yum

java reflection exception--can not access a member of class XXX with modifiers "private"

If you try to visit the value of an object's private field using reflection, such as Field#get or Field#set, you should call Field#setAccessible ahead... ......
quot reflection exception modifiers private

sql 中 ${} 和 #{} 、$""

C# 中 $ 的用法 sql 中 ${} 和 #{} ......
quot sql

小程序input设置为type="number"聚焦时,会出现白屏的情况

在微信小程序开发过程中,input聚焦时会出现白屏的情况,如图: 经过测试发现当input设置为type="number"聚焦时,当微信数字键盘弹出来的时候就会白屏,有的手机会闪(一下整个白屏,一下能看见输入框) 可能出现的原因: 1.a页面使用了cover-view,然后跳转到b页面点击type= ......
quot 情况 程序 number input

Android开发之--android 添加依赖出现Failed to resolve:"你添加的依赖名"问题

运行环境是Mac,其他的库在线安装更新都是可以的,就是“m3.samlss:broccoli:1.0.0",这个库的时候,出现Failed to resolve:xxx问题, 可以锁定是添加远程仓库的问题,新版的AS是在settings.gradle里面添加:具体如下: pluginManageme ......
quot Android android resolve Failed

VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found

原因: VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found 出现的原因是你提供的视频连接可能没有扩展名导致,这样videojs无法知道视频的格式。 需要在type属性指定播放视频的格式 ......

修改ssh端口号之后报错:error: Bind to port xxxx on 0.0.0.0 failed: Permission denied.

报错内容: [root@BabyishRecent-VM ~]# vi /etc/ssh/sshd_config [root@BabyishRecent-VM ~]# systemctl restart sshd Job for sshd.service failed because a confi ......
Permission 口号 denied failed error

500报错:ReflectionException: There is no setter for property named 'sicon' in 'class com.pikaqiu.health.bean.SubMenu'"

报错信息:"timestamp": "2023-03-27T09:07:50.958+00:00", 出错原因:首先看报错信息中这么写到: "message": "nested exception is org.apache.ibatis.reflection.ReflectionException ......

VSCode:"princexml" is required to be installed

这应该是我们在使用VSCode插件“markdown-preview-enhanced”插件时,使用PDF(prince)的时候出现的问题,那么关于这个问题的解决方法,请大家参照下边的解决方案。 进入prince官网,点击电脑版本对应的链接进行下载并安装。网址如下:Prince - Download ......
quot princexml installed required VSCode

rocketmq 报错ERROR: Please set the JAVA_HOME variable in your environment, We need java(x64)! !!

以下命令全部按顺序执行 unlink /usr/bin/javacunlink /usr/bin/jarunlink /bin/java ln -s /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/bin/javac /usr ......

问题处理分享 SQLSTATE[HY000]: General error: 126 Incorrect

今天网站访问内容页突然报错: SQLSTATE[HY000]: General error: 126 Incorrect key file for table '.\数据库名\qb_cms_content1.MYI'; try to repair it 当mysql的临时文件大小设置太小,或者由于并 ......
Incorrect SQLSTATE General 问题 error

Unknown custom element: <el-tabs> - did you register the component correctly? For recursive components, make sure to vue.runtime.esm.js?c320:619provide the "name" option.

mad 从官网上扒下来的 一模一样就是一直报错 然后一直百度 百度上的答案五花八门 没一个有用的 草!!!!! 这个原因就是你没有在项目中引入element-ui 所以你用它的组件会报错 第一步 npm i element-ui -S 第二步 在main.js里面加入 import ElementU ......

【Python】Flask-Mail发送邮件报错解决方案(UnicodeEncodeError 'ascii' codec can't encode characters in position 52-55 ordinal not in range(128))

✨报错提示 完全相同的代码在macOS上运行正常 在Windows上运行报错 报错提示如下: Traceback (most recent call last): File "C:\Users\Doubl\miniconda3\envs\Temp\lib\site-packages\flask\ap ......

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

安装mysql8后,本地登录成功,选择数据库报错 ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 解决办法: 执行语句修改密码:s ......
statement executing password before ERROR

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/modules/es.array.concat.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/modules/es.array.concat.js in ./node_modules/cache-loade ......

vue "vue-awesome-swiper": "^4.1.1" 的使用

<!-- swiper1 --> <swiper class="swiper gallery-top" :options="swiperOptionTop" ref="swiperTop"> <swiper-slide v-for="item in img_list" :key="item.id" ......
quot vue-awesome-swiper vue awesome swiper

express node模块连接数据库提示Connect error Error: connect ETIMEDOUT

服务器配置,点开防火墙配置,添加规则设置好端口号即可。 ......
ETIMEDOUT 模块 express Connect connect

解决:Error running 'Tomcat 8.5.84': Unable to open debugger port (127.0.0.1:12288): java.net.SocketException "Interrupted function call: accept failed"

启动项目的时候,tomcat报错,错误内容是 Error running 'Tomcat 8.5.84': Unable to open debugger port (127.0.0.1:12288): java.net.SocketException "Interrupted function c ......

python pandas保存 。dta文件报错:UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-2: ordinal not in range(256)应对

pandas 保存.dta文件时报错: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-2: ordinal not in range(256) import pandas as pd df = pd ......

MySQL 8.0.32中mysqldump需要"reload/flush_tables权限"问题的解决方案

在MySQL Server 8.0.32, Oracle修复了Bug #105761: "mysqldump make a non-consistent backup with ‐‐single-transaction option" 这引起了用户的一波抱怨,他们无法再使用mysqldump程序进行 ......

javafx.fxml.FXMLLoader.getClassLoader()" is null错误解决方法

javafx程序中,在Application的继承类中,启动了spring容器 @Override public void init() throws Exception { springApplicationContext = new SpringApplicationBuilder(HelloA ......

springboot中让sentinel持久化到nacos中报错sentinel持久化报错Error creating bean with name 'ds1-sentinel-nacos-datasource': Lookup method resolution failed; nested exception is java.lang.IllegalStateException

若依框架报错原因: pom中没有引入依赖: <!-- SpringCloud Alibaba Sentinel --> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba ......

org.springframework.dao.TransientDataAccessResourceException: Error attempting to get column 'classification' from result set. Cause: java.sql.SQLException: Invalid value for getInt()

问题:mybatis查询的时候,始终报这个错。我看了字段,应该是ClickNumber是Integer,为什么会报classification的问题。我试了几种方式,但是还是有这个问题。 包括使用resultMap来进行返回。 晚上看了很多方法,包括Druid版本啊,参数名不一致啊,lombok注解 ......

error code ELIFECYCLE

error code ELIFECYCLE 18 verbose node v10.8.0 19 verbose npm v6.2.0 20 error code ELIFECYCLE 21 error errno 1 1、npm cache clean --force 2、rm -rf node_ ......
ELIFECYCLE error code

kubernetes failed to create kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd"

错误原因 kubernetes 的文件驱动与 docker 不一致,导致镜像无法启动。 docker info 可以看到驱动方式 Cgroup Driver: systemd。 解决方案 统一资源管理,一致使用 systemd 或者 cgroupfs。 在 Linux 上,控制组(CGroup)用于 ......
quot kubelet cgroup driver misconfiguration

C++ 用户自定义字面量(operator"" _)

字面量 字面量是指源码中,固定的常量。比如, const char* p = "abcd"; const std::string s = "efg"; const int v = 10; const double d = 20.1; const unsigned long l = 123465789 ......
字面 quot operator 用户

盈亏平衡之"盈亏平衡点和总可变成本和总收入和利润和边际收益"

案例1 案例2 案例3 因为他这里没有按2w件来算,而是按4w件 利润 = 总收入 - 总成本 总收入 = 产量 * 单价 总成本 = 固定成本 + 变动成本 变动成本 = 单件可变成本 * 产量 案例4 边际收益 = 边际贡献 解第一问 解第二问 ......
平衡点 总收入 边际 quot 收益

docker启动出现Job for docker.service failed because the control process exited error code问题

只需要修改docker.server文件即可: 执行以下命令: vim vim /lib/systemd/system/docker.service 然后将ExecStart=/usr/bin/dockerd -H fd:// 改成ExecStart=/usr/bin/dockerd -H fd:/ ......
docker because control service process

git checkout 下一个"未来的"commit

如果可以使用 vscode,安装插件 git graph, 使用图形化git工具,直接观看所有commits log。 右键选中要 checkout 的 commit,然后点击 checkout 即可 如果不能使用 vscode,参考这个回答: https://stackoverflow.com/q ......
quot checkout commit git