摘要: 一、问题描述: 注册GitLab时报错There was an error with the reCAPTCHA. Please solve the reCAPTCHA again. 如图所示: 二、解决办法: ''FQ''或者通过Github登陆。如若没有Github账号可以注册后登陆。 原因:注 阅读全文
posted @ 2021-03-01 14:08 xc888 阅读(4467) 评论(0) 推荐(1)
摘要: 报错内容如图所示: 解决办法: 修改mapper.xml中对应的SQL语句,将其中属性或表名与关键词用反写引号区分开,如: 1 <insert id="insert" parameterType="com.entity.Order"> 2 insert into `order` (id, userI 阅读全文
posted @ 2021-01-11 17:32 xc888 阅读(3403) 评论(0) 推荐(0)
摘要: 报错内容: Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate (default-cli) on project OrderFood: Execution default 阅读全文
posted @ 2021-01-11 17:14 xc888 阅读(1117) 评论(0) 推荐(0)
摘要: 1.首先在pom文件中加载maven依赖 1 <dependency> 2 <groupId>com.huaban</groupId> 3 <artifactId>jieba-analysis</artifactId> 4 <version>1.0.2</version> 5 </dependenc 阅读全文
posted @ 2020-08-06 11:04 xc888 阅读(4625) 评论(0) 推荐(3)
摘要: 问题描述: SQL语句查询某个时间段内的数据包含开始时间与结束时间,SQL语句正确但是在Mybatis的映射文件中报错 如下图: 解决办法: 将含有“<”符号的SQL语句放入<![CDATA[ ]]>符号中 1 <select id="queryTotal" parameterType="com.e 阅读全文
posted @ 2020-06-11 09:53 xc888 阅读(531) 评论(0) 推荐(1)
摘要: 问题描述: 使用IDEA通过 mvn-clean,mvn-package 将一个SpringBoot的maven项目打成jar包后, 在jar包所在目录使用java -jar xxx.jar cmd命令运行jar包,报错java.sql.SQLException: com.mysql.jdbc.Dr 阅读全文
posted @ 2020-06-11 09:22 xc888 阅读(1569) 评论(0) 推荐(0)
摘要: 参考原文地址:https://www.cnblogs.com/zwwhnly/p/12449818.html public static void main(String[] args) { //被统计的字符串 String str = "ABC123ABC"; //查找的字符 String sea 阅读全文
posted @ 2020-06-02 15:30 xc888 阅读(883) 评论(0) 推荐(0)
摘要: 函数与main入口函数之间要隔开两行 最后必须要以空行结尾 例如: 1 def hello(): 2 return 'Hello', None, 'World' 3 4 5 if __name__ == '__main__': 6 a = hello() 7 c = [] 8 for b in a: 阅读全文
posted @ 2020-05-07 16:09 xc888 阅读(139) 评论(0) 推荐(0)
摘要: 参考文档地址:https://www.cnblogs.com/Crysta1/p/10250270.html https://blog.csdn.net/hellojackyang/article/details/81065756 https://www.jianshu.com/p/7a97848e 阅读全文
posted @ 2020-04-28 11:05 xc888 阅读(1873) 评论(0) 推荐(0)
摘要: 需求:一个文件夹中有多个jpg文件和ans文件,将jpg文件按一定数量分组复制新的文件夹, 如果原文件夹中有同名的ans文件则一同复制到新文件夹中 参考资料地址:https://www.jb51.net/article/167794.htm 代码: 1 #!/usr/bin/env python 2 阅读全文
posted @ 2020-04-27 15:09 xc888 阅读(1759) 评论(0) 推荐(0)