Warning: "continue" targeting switch is equivalent to "break". Error:"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ... 找到相关文件代码,最好的方式是把 continue 改为 continue 2…
开门见山: 这个误区是:子线程不能更新 UI ,其应该分类讨论,而不是绝对的. 半小时前,我的 XRecyclerView 群里面,一位群友私聊我,问题是: 为什么我的子线程更新了 UI 没报错? 我叫他发下代码我看,如下,十分简单的代码. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activi…
  今天在帮同事安装PL/SQL时,在登陆的时候出现上述错误,从网上找了好多解决方法,但都没有解决问题.对于免安装版本的PL/SQL在登陆是应该先配置好路径:bin\instantclient_11_2\NETWORK\ADMIN下面的tnsnames.ora   例如: DDR = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.213)(PORT = 1521)) (CONNECT_DATA = (SERVER = D…
1.清空bin下的Newtonsoft.Json.dll 2.使用Nuget安装最新版本的Newtonsoft.Json.dll,安装脚本为 Install-Package Newtonsoft.Json 3.如还报错手动将Newtonsoft.Json.dll放入bin下,手动引用Newtonsoft.Json.dll,重新生成解决方案…
项目的背景:制作一批接口用来给前台app或者网站提供服务,因为WebApi是最近几年来比较流行和新颖的开发接口的方式,而且又属于轻型应用,所以选用它 部署的过程:建立了WebAPI项目并使用SwaggerUI为接口美化后,发布为文件系统并放到服务器上 展示的结果: 解决的过程:在当前错误的api中加入try{}catch{}方法,捕获一下异常信息根据异常信息进行判定 判定的结果:数据库sa账号登录失败,截图如下 解决的办法:在服务器上重新建立个登录的新账号xx,设置密码后,修改webapi下面的…
在安装laravel5.5后, 访问显示报错. call to undefined function openssl cipher iv length() 经查为php7.1的OpenSSL扩展加载失败导致 恢复方法 检查http.conf   LoadModule ssl_module modules/mod_ssl.so php.ini开启extension=php_openssl.dll 将php7.1要目录下的libeay32.dll和ssleay32.dll文件复制并替换到apache…
报错代码: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/X…
报错内容:sql  1093 - You can't specify target table 'u' for update in FROM clause 错误原因: if you're doing an UPDATE/INSERT/DELETE on a table, you can't reference that table in an inner query 解决方法: (you can however reference a field from that outer table...…
早上突然发现我的虚拟机上的WEB应用访问不了了,后台检查httpd服务,无法启动,出现一行提示: ①starting httpd: httpd: Syntax error on line 163 of /etc/httpd/conf/httpd.conf: ②Cannot load /etc/httpd/modules/mod_ldap.so into server: ③/etc/httpd/modules/mod_ldap.so: undefined symbol: apr_ldap_ssl_…
2018-07-02       21:43:13 Yum报错 [root@db yum.repos.d]# yum makecache Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot find a valid baseurl for repo: elasticsearch-6.x [root@db yum.re…
1.报错内容:django.template.exceptions.TemplateDoesNotExist: index.html 2.解决办法,在settings.py文件中,找到TEMPLATES,添加红色下划线部分 TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR,'templates')], 'APP_DIRS': Tr…
本人在自己电脑的虚拟机里安装docker ce 17.06.0版本的时候报如下错误: [root@manager2 yum.repos.d]# yum install docker-ce-17.06.0.ce-1.el7.centos.x86_64 -yLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.neusof…
项目中代码红线报版本不支持xx语法,只需要将java版本设置为当前机器使用的java版本即可 这里我使用的是idea自带的maven,如果是自己安装的maven需要在 home directory 处指定maven路径, 如果是自己安装的maven,也需要在下面两处指定maven的配置文件和仓库路径(必须确保修改过settings.xml的配置  必须确保配置文件和仓库都确实存在,否则会出现pom.xml报红线  maven无法导入jar包的问题) 如果是用idea自己的maven,那就选择好需…
本文由秀依林枫提供友情赞助,首发于烂泥行天下. 今天在NFS服务器使用showmount –e查看NFS共享目录时,发现系统一直显示如下错误: clnt_create: RPC: Port mapper failure - Timed out 查询相关资料显示,很有可能是因为NFS服务器的hosts文件中的域名和NFS服务器的IP地址不对应造成的. 查看NFS服务器的hosts文件,如下: 发现NFS服务器的主机名和IP地址记录不在这个文件进行记录.果断添加进去.如下: 再次使用showmoun…
expected string or bytes-like object 期望的字符串或类似字节的对象,一般为数据类型不匹配造成 本人在实际项目里发现的问题是: 数据库里的字段类型与django里models的字段类型不一致,模型里的update_time字段类型设置为DateTimeField类型,但是该字段在实际的数据库中的类型设置了为int,这导致在xadmin中修改数据时,出现数据类型不一致的错误 解决办法: 将字段类型修改为一致即可 总结: 当遇到该报错时,应该检查数据类型是否不一致或…
更新了 CocoaPods 后,再执行 "pod install" 时报了如下错误: [!] The dependency `AFOnoResponseSerializer` is not used in any concrete target. The dependency `SDWebImage` is not used in any concrete target. The dependency `SSKeychain` is not used in any concrete t…
最近在使用蓝牙进行文件分享时,出现了一个奇怪的问题.同样的代码在android5.1上可以顺利运行,但是在android7.0上就运行失败.出现如下的错误: Caused by: android.os.FileUriExposedException: file:///storage/emulated/0/bluetooth/data.txt exposed beyond app through ClipData.Item.getUri() 出现这个问题的时候我立刻意识到这是一个兼容的问题,于是在…
我使用的是springboot  2.1.7.RELEASE  springcloud  Greenwich.SR2 boot和cloud对应的版本号不能搞混,对应版本请参考https://spring.io/projects/spring-cloud#overview 技术交流群 : 816227112 问题1 The bean 'eurekaRegistration', defined in class path resource [org/springframework/cloud/net…
未解决 composer installLoading composer repositories with package informationUpdating dependencies (including require-dev)Your requirements could not be resolved to an installable set of packages. Problem 1 - codeception/base 2.4.0 requires codeception/…
CUDA 10.0: 410.48 CUDA .xx CUDA .xx (update) CUDA .xx CUDA .xx (GA2) CUDA .4x CUDA .xx CUDA .xx CUDA .xx CUDA .xx CUDA .xx CUDA .xx CUDA 4.2: 295.41 CUDA CUDA CUDA CUDA 3.1: 256.40 CUDA…
Configuring the Java environment variables vi ~/.bash_profile 在最后一行加入: export JAVA_OPTS=-Djava.awt.headless=true 使用最新环境变量 source ~/.bash_profile…
解决方法 cat /opt/storm-0.8.2/conf/storm.yaml中找到storm.local.dir设定的目录,备份supervisor和workers两个文件夹,#nohup supervise /service/storm/ &重启 错误如下 2014-06-17 12:27:05,267 INFO [main] daemon.supervisor (NO_SOURCE_FILE:invoke(0)) - Starting supervisor with id xxx at…
解决方案:打开git的控制端黑窗口,输入: git config --global http.sslVerify false 点击Entry之后,就会去掉git的ssl验证. 然后就可以正常的下载代码.…
错误大概如下: create connection SQLException, url: jdbc:mysql://'IP地址':3306/code007?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC, errorCode 0, state 08S01 把最后的&useSSL=true&serverTimezone=UTC去掉即可…
错误一: LD .tmp_vmlinux1 init/built-in.o: In function `run_init_process': /home/ox/tq2440/opt/EmbedSky/linux-2.6.30.4/init/main.c:794: undefined reference to `__gnu_mcount_nc' init/built-in.o: In function `init_post': /home/ox/tq2440/opt/EmbedSky/linux-…
最近更新系统,发现报错0x80248014,系统版本为redstone2(创意者更新). 总结发现,只要是windows各个版本自动更新报错的,如0x80开头的一系列错误,都可以通过如下步骤解决: 手工停掉自动更新服务 运行-services.msc 去路径C:\Windows\SoftwareDistribution,清空DataStore和Download两个文件夹下的全部内容 第一步停自动更新服务,是为了可以有权限删除如上2个文件夹的内容. 起自动更新,再次检查更新,即可解决问题.…
更新ruby时,报错: Failed to update Homebrew, follow instructions here: https://github.com/Homebrew/homebrew/wiki/Common-Issuesand make sure `brew update` works before continuing.Error running 'requirements_osx_brew_update_system ruby-2.4.1',please read /Us…
搭了个dns服务器,配置完毕老是报错,这里总结一下常见思路: ①关闭firewalld ②关闭selinux ③/var/named里面的配置文件所属用户组是否是root:named ④named.conf写的zone文件名是否和/var/named中的文件名对应(不对应会报server can‘t find *** 解析错误) ⑤named.conf写了正(反)向解析在/var/named中就要有正(反)向解析文件…
出现情况:因我升级了Centos内核后docker服务无法开启,所做重装处理但还是无效,最终将docker服务做了升级,升级步骤我会放置下面,但在启动老版本容器又出现Error response from daemon: Unknown runtime specified docker-runc,如你也跟我一样的情况,可参考如下操作步骤. Docker升级 yum update -y yum install -y yum-utils device-mapper-persistent-data l…
最近在学习Spring+SpringMVC+MyBatis,一个人的挖掘过程确实有点艰难,尤其是有一些神奇的报错让你会很蛋疼.特别是接触一些框架还是最新版本的时候,会因为版本问题出现很多错误,欢迎大家一起学习交流 这篇就说一下困扰我昨晚2小时的一个报错,nitializationError(org.junit.runner.manipulation.Filter)或者No tests found matching异常,查阅了很多资料,总结一下这些情况和解决办法. 1.最容易发现的错误,就如报错所…