BE
Annotation processors must be explicitly declared now
Android Studio升级到最新版3.0 Canary 8后,当使用到注解时,报了如下错误: Error:Execution failed for task ':app:javaPreCompileDebug'. > Annotation processors must be explicit ......
报错:java.lang.String cannot be cast to java.time.LocalDateTime(2022-06-28T01:53:41.000+00:00 转换成 yyyy-MM-dd HH:mm:ss格式)
时间字符串如下:2023-09-12T16:00:00.000+00:00 错误代码: LocalDateTime orderTime1 = (LocalDateTime) o1.get("create_time"); 解决办法: (1)、先转换成yyyy-MM-dd HH:mm:ss格式 Stri ......
org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!问题的解决
# 问题描述 hive进行初始化时,出现这样的问题; # 问题解决 只要进入到我们的虚拟机安装配置的mysql里面,将我们hive-site.xml里面提及到的数据库删除,然后再进行初始化即可; 这次出错是因为,我之前已经初始化过,才出现了这个问题; ......
error: The following untracked working tree files would be overwritten by merge
错误内容如下: error: The following untracked working tree files would be overwritten by merge: xxx/xxx/xxx/xxx/xxx/xxx/xxx.java Please move or remove them b ......
[LeetCode] 2511. Maximum Enemy Forts That Can Be Captured
You are given a 0-indexed integer array forts of length n representing the positions of several forts. forts[i] can be -1, 0, or 1 where: -1 represent ......
python selenium报错ValueError: Timeout value connect was <...>, but it must be an int, float or None.
最近学习爬虫,安装selenium,很简单地执行代码,但是一直报错。 ``` import time import openpyxl from selenium import webdriver from selenium.webdriver.common.keys import Keys from ......
type.text is about to be deprecated in version 3.0.0, please use link instead.提示
问题:使用按钮类型为文字时,控制台报错type.text is about to be deprecated in version 3.0.0, please use link instead. 代码如下: <el-button type="text" size="small" @click="de ......
spring boot - 开启异步 @EnableAsync 启动报错 The bean 'xxx' could not be injected because it is a JDK dynamic proxy
解决 注解 @EnableAsync 修改为 @EnableAsync(proxyTargetClass = true) 如 ......
flutter升级错误“Your flutter checkout has local changes that would be erased by upgrading. ”
在升级Flutter SDK时可能会报如下错误: Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommend ......
Docker|--E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
### 错误 ```bash apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but ......
Doris启动BE时于是遇到的问题
# Doris启动BE时于是遇到的问题 ## java.net.ConnectException: 拒绝连接 (Connection refused) >配置文件中ip地址输入错误,导致无法访问,检查后修改即可 `sudo vi /opt/module/apache-doris-0.15.0/be/ ......
Java maven 工程报错:cannot be read or is not a valid ZIP file
原因:这个报错,其实jar包是个异常的jar。我是通过maven下载的后缀.lastupdate,然后我就直接把.lastupdate改成了.jar。 但是其实这个并不是实际意义上的jar包。 解决办法:找到匹配的jar包替换掉这个无效的jar包就可以了 ......
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 ......
org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!问题的解决
# 问题描述 上次还是初始化很快,这次直接出错,我觉得可能是已经初始化一次的原因;  # 问题解决 进入到mysql ......
elasticsearch from + size must be less than or equal to: [10000] but was [100000]
说明:当分页查询时,默认最大总数是10000(from+size<=10000),当我现在业务需要查询最大100000条时,就报错了。 方案1:可以为某个es放开到指定的返回总数,也可以对整个es的索引做设置。但这样对内存消耗很大, 可能导致内存溢出,elasticsearch重启又会恢复默认100 ......
vue eslint 报错 error “Component name “*****“ should always be multi-word”,该怎么办?
出现的问题: 在 vue-cli 创建的项目中,创建文件并命名后,会报 “Component name "*****" should always be multi-word” 报错; 报错截图示例如下: Component name "******" should always be multi- ......
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 ......
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 报错信息解释: ......
解决CondaVerificationError: setuptools appears to be corrupted
### 问题描述 使用Anaconda创建新环境,创建环境时或创建虚拟环境后进入到虚拟环境中安装Python,指定Python版本号小于3.7时,总是会出现如下报错:  **题意** 给定一个 n 个顶点,m 条边的无向图,你需要删除图中的一些边使得图中不存在环 问你需要删除的最少边数? **思路** 考虑连通块的生成树 ......
项目中多次调用百度地图组件然后页面出现自动刷新的问题——Too many active WebGL contexts. Oldest context will be lost
最近在项目中遇到这么一个奇怪的问题,在调用百度地图组件之后页面会不定期的自动刷新,后来经过排查发现问题是因为内存泄漏的原因: Too many active WebGL contexts. Oldest context will be lost。 是因为chrome浏览器对单个页面能运行的WebGL ......
读取xls文件时报错 Initialisation of record 0x203(NumberRecord) left 4 bytes remaining still to be read.
项目背景 :公司的一个客户报告项目需要同步及抽取客户方的文件数据,文件类型为xls格式,文件为客户方的第三方厂商系统批量生成,工具及方法不明 问题 :读取该类xls文件后,无法成功创建Workbook,报错提示“Initialisation of record 0x203(NumberRecord) ......
解决小程序报错 getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json
一、unipp项目 打开uniapp项目的配置文件manifest.json,选择“源码视图”。 /* 小程序特有相关 */ "mp-weixin": { "appid": "你的开发者id", "setting": { "urlCheck": true, "es6": true, "postcss ......
背包问题 (to be continued)
# 背包问题 (to be continued) ## 0x01 01 背包 ### Problem 有 $N$ 件物品和一个容量为 $V$ 的背包. 第 $i$ 件物品的费用是 $v_i$ , 价值是 $w_i$ . 求 $\max \left\{ \left. \sum_{1\leq i\leq ......
spring注入bean错误-Bean named 'abc' is expected to be of type 'AAA' but was actually of type 'BBB'
@Resource注解有两个重要的属性:name和type。在一个使用@Resource来注入bean的声明语句中,@Resource优先是按name来解析bean的 ......
Git常见报错:Your local changes to the following files would be overwritten by merge
### 1、报错原因 该报错在git pull时出现,一句话解释就是你在本地改动了代码但是还没有提交,此时再拉取最新代码,远程代码和你当前的本地代码发生冲突!(注意有冲突时才会提示,如果没有冲突,则git pull成功,因为git pull实质上就是一个远程分支merge到本地分支过程。 ### 2 ......
"Don't be shy. Speak English loudly and crazily!"
"Don't be shy. Speak English loudly and crazily!" 俞敏洪犀利点评马云、王石、刘强东、雷军英语水平 俞敏洪:马云8岁学英语,考上杭师范读专科,而我在北大读本科! 李阳、马云、俞敏洪,这三个中国最著名的英语老师,只有李阳仍坚守在一线。 是啊,当马云再次登 ......
警告: 'xxx' should always be multi-word
## 警告:Component name "Login" should always be multi-word  ......
PlacementList must be sorted by first 8 bits of display_id 问题
问题暂未解决 ``` [37484:0811/103448.115:ERROR:display_layout.cc(551)] PlacementList must be sorted by first 8 bits of display_id ``` ![](https://img2023.cnb ......