新开一节IO(Input/Output)的用法。 这节主要讲一下操作文件和文件目录的两个静态类:File 和 Directory。 在进入正题之前,先理解一下相对路径和绝对路径这两个概念: 绝对路径,是指从盘符开始的路径,如:C:/user/desktop 相对路径,是指相对于当前目录的路径访问形式 ...
分类:
其他好文 时间:
2020-09-04 17:02:51
阅读次数:
52
#liunx 下php安装memcached扩展 memcached扩展是基于libmemcached,所以要先安装libmemcached 一:安装libmemcached 1、wget https://launchpadlibrarian.net/165454254/libmemcached-1 ...
分类:
Web程序 时间:
2020-09-03 16:54:45
阅读次数:
60
使用git clone [http的url]从远程仓库克隆项目时,git提示报错"fatal repository not found",出现这个错误的原因可能是下面几种情况: 远程仓库地址不存在 将http的url地址复制到浏览器中直接访问,查看该地址是否能外网访问,不能则该项目不存在 远程仓库地 ...
分类:
其他好文 时间:
2020-09-03 16:42:17
阅读次数:
116
Multiple annotations found at this line:- javax.servlet.jsp.JspException cannot be resolved to a type- Attribute (width) is obsolete. Its use is disco ...
分类:
Web程序 时间:
2020-09-03 16:28:26
阅读次数:
80
问题 在windows下使用记事本打开deploy.sh文件,编写.sh脚本,保存后拷贝到Linux服务器上,执行后报如下错误。 [root@i-dbb1f0ff shell]# ./deploy.sh -bash:./deploy.sh:/bin/bash^M:bad interpreter:No ...
分类:
系统相关 时间:
2020-08-31 11:56:16
阅读次数:
57
错误提示信息 % Unrecognized command found at '^’ position. 命令无法解析,符号“^”指示位置出错 % Incomplete command found at '^’ position. 符号“^”指示位置的参数输入不完整 % Ambiguous comm ...
分类:
其他好文 时间:
2020-08-20 18:09:02
阅读次数:
230
创建基本任务 General Use custom workspace > Directory: {directory, d:\github} Source Code Management Git plugin Git > Repositories > Repository URL: {reposi ...
分类:
其他好文 时间:
2020-08-19 19:59:48
阅读次数:
53
错误情况: go: missing Git command. See https://golang.org/s/gogetcmd package github.com/astaxie/beego: exec: “git”: executable file not found in %PATH% 解决 ...
分类:
Web程序 时间:
2020-08-18 14:08:26
阅读次数:
104
在登录页面,管理数据库中备份数据库 1. 设置数据库主密码 2. 配置环境变量 设置完数据库主密码后,必须在安装ODOO服务器上配置PostgreSQL数据库的环境变更 ,如果不设置,则会报错:Database backup error: Command `pg_dump` not found. 在 ...
分类:
数据库 时间:
2020-08-17 17:11:34
阅读次数:
93
Failed to compile. ./src/api/system/eduction.js Module build failed (from ./node_modules/eslint-loader/index.js): Error: ENOENT: no such file or direc ...
分类:
Web程序 时间:
2020-08-17 16:52:20
阅读次数:
185