题型分类:map 题目大意:输入一本书的各个数据,建立图书查询系统,最后对书目进行查询。 解题思路:使用map来映射书和书的各个数据,用set来存储书的编号,set可以自动去重并且按从小到大的顺序排列。 注意 1.由于id是一个七位数字,在用scanf("%d",&id)读入是0001111会变成1 ...
分类:
其他好文 时间:
2020-09-11 15:57:02
阅读次数:
38
新公司入职后很久没写博客了,慢慢拾起来吧。 现象描述: 项目本地运行没有问题,打包也没有报错,正常打包。但是部署到服务器在调用查库接口时,报错:Invalid bound statement (not found)。。。。。。。 该错的意思就是调用时没有找到对应的xml文件。 排错思路: mybat ...
分类:
其他好文 时间:
2020-09-10 22:35:47
阅读次数:
47
CMake Error at /home/sany/WorkSpace/test_ws/devel/share/A/cmake/AConfig.cmake:173 (message): Project 'B' tried to find library 'A'. The library is nei ...
分类:
其他好文 时间:
2020-09-04 17:37:01
阅读次数:
82
使用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
第二章 2.12 (1)拟合模型: > library(openxlsx) #加载包 openxlsx > data = read.xlsx("22_data.xlsx",sheet = 2) #read.xlsx 函数读入数据 > x = data[,1] > y = data[,2] > res ...
分类:
其他好文 时间:
2020-08-28 11:43:37
阅读次数:
42
错误提示信息 % Unrecognized command found at '^’ position. 命令无法解析,符号“^”指示位置出错 % Incomplete command found at '^’ position. 符号“^”指示位置的参数输入不完整 % Ambiguous comm ...
分类:
其他好文 时间:
2020-08-20 18:09:02
阅读次数:
230
构建springboot项目 打包应用 编写dockerfile 构建镜像 发布运行! [root@localhost demo]# ls demo02-0.0.1-SNAPSHOT.jar Dockerfile # Dockerfile文件 [root@localhost demo]# cat D ...
分类:
编程语言 时间:
2020-08-19 19:10:33
阅读次数:
79
错误情况: 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