1.如果编译时出现“ERROR: Plugin with id 'com.android.application' not found.”错误. 解决方法:请在build.gradle文件中添加以下代码。 buildscript { repositories { google() jcenter() ...
分类:
移动开发 时间:
2020-05-24 00:29:37
阅读次数:
87
Windows git bash 默认没有sudo命令,可以添加win-sudo插件实现该功能 curl -s https://raw.githubusercontent.com/imachug/win-sudo/master/install.sh | sh 如果上面的命令没有用,可以复制https ...
有时候连得上数据库,有时候又连不上. 可能是数据库上当前的连接数目已经超过了它能够处理的最大值. select count(*) from v$process --当前的连接数 select value from v$parameter where name = 'processes' --数据库允 ...
分类:
移动开发 时间:
2020-05-23 18:13:09
阅读次数:
75
node-sass安装失败,提示如下: gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` succeeded python D:\Program Files\Pytho ...
分类:
其他好文 时间:
2020-05-23 16:21:45
阅读次数:
363
典型如下 第一种import java.util.List;@RestController@RequestMapping("/order")@DefaultProperties(defaultFallback = "fallback4Wait")public class OrderControlle ...
分类:
编程语言 时间:
2020-05-23 11:34:33
阅读次数:
68
出现这个问题是因为系统的环境变量没有正确配置造成的,造成这个原因有很多,比如系统升级,比如不正当操作。解决的方式有两种。 其一:直接在linux命令行界面输入如下,然后回车(导入环境变量,以及shell常见的命令的存放地址): export PATH=/usr/local/sbin:/usr/loc ...
分类:
系统相关 时间:
2020-05-23 00:12:20
阅读次数:
69
原因:低版本的Safari无法解析new Date('XXXX-XX-XX'),但可以解析new Date('XXXX/XX/XX')格式的时间 所以需要把“-”替换为“/”。 比如: var date = "2020-05-22"; var date_Replace = date.replace( ...
分类:
移动开发 时间:
2020-05-22 19:27:31
阅读次数:
81
This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution复制代码 ...
分类:
Web程序 时间:
2020-05-22 17:23:45
阅读次数:
75
yum安装docker时报错[Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'] 之后百度说是内存不足了 df -h发现我的/dev/mapper/cl-root没有内存了 用命令 ...
分类:
移动开发 时间:
2020-05-22 13:11:53
阅读次数:
230
1.检查xml文件所在package名称是否和Mapper interface所在的包名 或者 mapper的namespace写的不对!!!注意修改。 2.UserDao的方法在UserDao.xml中没有,然后执行UserDao的方法会报此 3.UserDao的方法返回值是List,而selec ...
分类:
其他好文 时间:
2020-05-22 00:20:23
阅读次数:
134