随笔分类 -  常见Error记录

摘要:Error 最近写代码时突然遇到了下面这个错误,这个还是第一次遇到,新手勿喷,查阅得知是MySQL时间类型的原因 Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: '2041-0 阅读全文
posted @ 2021-01-29 11:02 李帆1998 阅读(872) 评论(0) 推荐(0) 编辑
摘要:Add correct host key in /Users/apple/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/apple/.ssh/known_hosts:6 错误 服务器重装后出现如下错误 阅读全文
posted @ 2021-01-26 09:42 李帆1998 阅读(636) 评论(0) 推荐(0) 编辑
摘要:bug 系统 Mac OS docker-compose 修改docker-compose里的mysql版本,从8.0降到5.7 InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 阅读全文
posted @ 2021-01-25 18:39 李帆1998 阅读(2756) 评论(0) 推荐(0) 编辑
摘要:环境 在国内主机(阿里云centos7)使用kubeadm init 初始化k8s集群失败 Error [ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-apiserver:v1.13.4: output: Error response 阅读全文
posted @ 2021-01-25 18:24 李帆1998 阅读(6787) 评论(0) 推荐(0) 编辑
摘要:错误 在使用Mybatis generator时提示MySQL写入过大 Packet for query is too large (5,145 > 1,024). You can change this value on the server by setting the 'max_allowed 阅读全文
posted @ 2019-02-07 21:02 李帆1998 阅读(1665) 评论(0) 推荐(0) 编辑
摘要:错误 Gradle sync failed: Cannot set the value of read-only property 'outputFile' 原因 gradle打包,自定义apk名称代码报错 解决 看不懂代码就把原来的注释了,自己再写一个 例如: // rename the apk 阅读全文
posted @ 2018-06-24 17:36 李帆1998 阅读(4308) 评论(0) 推荐(0) 编辑
摘要:Error:Execution failed for task ':xutils:mergeDebugAndroidTestResources'. > No slave process to proc Android studio 重启即可。 阅读全文
posted @ 2018-06-24 17:24 李帆1998 阅读(243) 评论(0) 推荐(0) 编辑
摘要:环境 android studio 3.0 错误 Error:All flavors must now belong to a named flavor dimension. 解决 在build.gradle中 android.defaultConfig 添加 flavorDimensions "v 阅读全文
posted @ 2018-06-24 17:21 李帆1998 阅读(196) 评论(0) 推荐(0) 编辑
摘要:环境 Android studio 3.0 导入开源中国: ... dependencies { //noinspection GradleDependency classpath 'com.android.tools.build:gradle:2.2.3' classpath 'com.getke 阅读全文
posted @ 2018-06-24 17:12 李帆1998 阅读(4142) 评论(0) 推荐(0) 编辑
摘要:环境 Android Studio 3.0 升级&导入项目 错误 Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for de 阅读全文
posted @ 2018-06-24 16:40 李帆1998 阅读(5594) 评论(0) 推荐(0) 编辑
摘要:环境 Android Studio 3.0 Gradle 3.0.0 gradle 4.1 Error Error:Execution failed for task ':app:javaPreCompileAnzhiDebug'. > Annotation processors must be e 阅读全文
posted @ 2018-06-24 16:38 李帆1998 阅读(3336) 评论(0) 推荐(0) 编辑
摘要:环境 Android Studio 3.0 错误 Error:Execution failed for task ':app:processAnzhiDebugAndroidTestResources'. > No slave process to process jobs, aborting 解决 阅读全文
posted @ 2018-06-24 16:31 李帆1998 阅读(1420) 评论(0) 推荐(0) 编辑
摘要:环境: Android 8.0.1 MIUI 真机测试闪退 gradle 4.1 compileSdkVersion 26 buildToolsVersion '26.0.2' minSdkVersion 21 targetSdkVersion 26 错误: java.lang.RuntimeExc 阅读全文
posted @ 2018-06-23 18:28 李帆1998 阅读(521) 评论(0) 推荐(0) 编辑
摘要:- ORA-12541: no listener - TNS-12560:协议适配器错误 - TNS-00530:协议适配器错误 - ORA-12518 - ORA-12514 - ORA-28040:没有匹配的验证协议 - ORA-01017:用户名:/口令无效 - 注册表或服务没有TNS监听器项目 阅读全文
posted @ 2018-06-14 10:35 李帆1998 阅读(861) 评论(0) 推荐(0) 编辑
摘要:错误 使用Navicat Premium 连接MySQL时出现如下错误: 原因 mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password ####解决 更改加密规则: mysql -uroot -ppa 阅读全文
posted @ 2018-06-13 14:46 李帆1998 阅读(82910) 评论(5) 推荐(20) 编辑
摘要:错误:ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) 原因 :登录帐户错误(ODBC) 解决: 登录root帐户 输入: mysql -u root -p 阅读全文
posted @ 2018-06-13 13:54 李帆1998 阅读(6479) 评论(0) 推荐(0) 编辑
摘要:错误 原因:可能是服务没有启动 以管理员身份打开cmd 输入 net start mysql 阅读全文
posted @ 2018-06-13 13:42 李帆1998 阅读(537) 评论(0) 推荐(0) 编辑
摘要:解决方法: 修改密码:alter user 'root'@'localhost' identified by '123456'; mysql> use mysql; ERROR 1820 (HY000): You must reset your password using ALTER USER s 阅读全文
posted @ 2018-06-13 13:16 李帆1998 阅读(221) 评论(0) 推荐(0) 编辑
摘要:在windos 的cmd下安装mysql 在mysql的bin目录下面执行: mysqld --install 报错: Install/Remove of the Service Denied! 解决办法: 打开cmd.exe程序的时候选择“用管理员身份打开”。 阅读全文
posted @ 2018-06-12 15:20 李帆1998 阅读(250) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩