1. 在全局路径下修改环境变量 vim ~/.bash_profile # Setting PATH for Python 3.6 # The original version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Py ...
分类:
移动开发 时间:
2020-02-21 17:51:05
阅读次数:
150
错误提示: Could not autowire. No beans of type xxx found 将setting中的检查级别调整为warning ...
分类:
其他好文 时间:
2020-02-20 15:33:39
阅读次数:
94
#客户端设置,即客户端默认的连接参数 [client] #默认连接端口 port = 3306 #用于本地连接的socket套接字 socket = /data/mysqldata/3306/mysql.sock #编码 default-character-set = utf8mb4 #服务端基本设 ...
分类:
其他好文 时间:
2020-02-20 15:25:48
阅读次数:
86
1. 创建目录 static 和 templates首先你需要在自己的应用程序目录下面创建2个子目录 static 和 templates,static下存放静态文件,templates下存放网页模板文件 2. settings.py设置STATICFILES_DIRS打开settings.py,在 ...
分类:
其他好文 时间:
2020-02-20 15:00:35
阅读次数:
205
Mybatis中mapper.xml中的模糊查询 <!-- 方法一: 直接使用 % 拼接字符串 注意:此处不能写成 "%#{name}%" ,#{name}就成了字符串的一部分, 会发生这样一个异常: The error occurred while setting parameters, 应该写成 ...
分类:
移动开发 时间:
2020-02-20 13:31:18
阅读次数:
129
1、搭建环境 搭建数据库 java CREATE DATABASE ; USE ; CREATE TABLE ( INT(20) NOT NULL PRIMARY KEY, VARCHAR(30) DEFAULT NULL, VARCHAR(30) DEFAULT NULL )ENGINE=INNO ...
分类:
其他好文 时间:
2020-02-19 23:59:08
阅读次数:
128
最近在rancher平台中部署elasticsearch时容器出现了"Read-only file system" setting key "vm.max_map_count"的报错,通过命令查看 sysctl -a|grep vm.max_map_count 发现vm.max_map_count配 ...
分类:
其他好文 时间:
2020-02-19 13:12:00
阅读次数:
120
新建xml文件,内容如下: 1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 4 xmlns:xsi="http://www.w3.org/200 ...
分类:
系统相关 时间:
2020-02-18 18:10:27
阅读次数:
193
FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':shared_preferences:verifyReleaseResources'.> A failure occurred ...
分类:
其他好文 时间:
2020-02-18 09:48:09
阅读次数:
464
1.日志配置:<settings> <setting name="logImpl" value="STDOUT_LOGGING"/>//自带日志 <setting name="logImpl" value="LOG4J"/>//第三方日志</settings>2.配置文件:log4j.propert ...
分类:
其他好文 时间:
2020-02-17 18:11:37
阅读次数:
83