码迷,mamicode.com
首页 >  
搜索关键字:cannot be converted    ( 5299个结果
java.lang.ClassCastException: com.example.yijie.MainData cannot be cast to androidx.fragment.app.Fragment
报错信息:java.lang.ClassCastException: com.example.yijie.MainData cannot be cast to androidx.fragment.app.Fragment 报错关键点:XXXX cannot be cast to XXXXX 报错说明 ...
分类:移动开发   时间:2020-06-26 21:50:03    阅读次数:85
TypeScript(20): 声明文件
TypeScript 作为 JavaScript 的超集,在开发过程中不可避免要引用其他第三方的 JavaScript 的库。虽然通过直接引用可以调用库的类和方法,但是却无法使用TypeScript 诸如类型检查等特性功能。为了解决这个问题,需要将这些库里的函数和方法体去掉后只保留导出类型声明,而产... ...
分类:其他好文   时间:2020-06-26 10:27:35    阅读次数:56
Exception-Handling
Exception-Handling Overview Example Snippet for try-throw-catch (踹扔抓示例) try { Code to try; throw an exception (1) with a throw statement (2) or from f ...
分类:其他好文   时间:2020-06-24 22:08:41    阅读次数:67
数据库外键报错
MySQL报错:Cannot add or update a child row: a foreign key constraint fails 原因及解决方法 前几天增加了数据库中几张表的外键,结果调试接口的时候就报Cannot add or update a child row: a forei ...
分类:数据库   时间:2020-06-24 11:44:22    阅读次数:59
Java线程的死锁和活锁
1、概览 当多线程帮助我们提高应用性能的同时,它同时也带来一些问题,本文我们将借助几个小例子看下两个问题,死锁和活锁。 2、死锁 2.1、什么是死锁 死锁发生在当两个或多个线程一直在等待另一个线程持有的锁或资源的时候。这会导致一个程序可能会被拖垮或者直接挂掉,因为线程们都不能继续工作了。 经典的哲学 ...
分类:编程语言   时间:2020-06-24 00:24:55    阅读次数:92
cannot connect to ppa.launchpad.net
sherrysack关注 2017.10.24 13:02:25字数 76阅读 2,394 While I was trying to download wine1.7 on Ubuntu, after I add the related repository, and execute sudo a ...
分类:Web程序   时间:2020-06-23 13:44:59    阅读次数:82
MySQL-错误:2059 - Authentication plugin 'caching_sha2_password' cannot be loaded
MySQL-错误:2059-Authentication plugin 'caching_sha2_password' cannot be loaded 一 现象 使用docker镜像创建容器后,mysql测试连接不成功 二 原因 网上查询得到原因:在mysql8之前的版本中加密规则为mysql_n ...
分类:数据库   时间:2020-06-22 22:42:23    阅读次数:130
C# 解密Java的密文报错 Padding is invalid and cannot be removed
1 protected static string DecryptAes(string input, string key) 2 { 3 var encryptedBytes = Convert.FromBase64String(input); 4 5 byte[] pwdBytes = getKe ...
分类:编程语言   时间:2020-06-22 19:16:36    阅读次数:91
php phpexcel/PHPExcel导出乱码的问题
本来很简单的一个功能怎么导出都是乱码。 添加 error_reporting(E_ALL ^ E_NOTICE) ini_set("display_errors",'"on") PHP提示: Cannot modify header information - headers already sen ...
分类:Web程序   时间:2020-06-22 01:52:02    阅读次数:92
Git拉取分支报错(fatal:‘XXX' is not a commit and a branch ‘XXX' cannot be created from it)
一、问题出现 1.当远程仓库分支上有一个本地仓库没有的分支时 2.本地使用git checkout命令检索这个远程分支 git checkout -b 本地分支名 远程分支名 当出现上述情况时,就会出现报错:fatal:‘XXX' is not a commit and a branch ‘XXX' ...
分类:其他好文   时间:2020-06-21 23:11:17    阅读次数:202
5299条   上一页 1 ... 20 21 22 23 24 ... 530 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!