随笔分类 -  报错

idea 项目更改jdk版本后,External Libraries中jdk仍为旧版本
摘要:根据网上搜索,修改Preferences、 pom.xml、 maven settings.xml中的 jdk版本后,发现External Libraries中jdk仍为旧版本。 表示仍旧有漏修改的地方。 File -> Project Structure Project Settings -> P 阅读全文

posted @ 2024-05-05 23:32 mlllily 阅读(645) 评论(0) 推荐(0) 编辑

项目问题记录
摘要:问题描述: 引入dependency后,maven没有自动下载依赖 解决方法:在工程的目录下,执行$ mvn compile 。 阅读全文

posted @ 2024-05-04 23:46 mlllily 阅读(5) 评论(0) 推荐(0) 编辑

Python报错:TypeError: sequence item 0: expected str instance, int found
摘要:报错原因: student_list = [1, 2, 3, 4, 5] 使用" ".join(student_list)时,student_list中的元素都为整数。 解决方法: 将student_list中的元素都变为str类型 list(map(str, student_list)) 关于ma 阅读全文

posted @ 2024-03-12 19:26 mlllily 阅读(86) 评论(0) 推荐(0) 编辑

Mac OS 打开pycharm立即闪退,报错initial heap size set to a larger value than the maximum heap size idea
摘要:电脑突然不能打开pycharm了,一打开就闪退,通过终端启动发现报错initial heap size set to a larger value than the maximum heap size idea。 在网上搜索后,大家说修改bin目录下的pycharm.vmoptions文件即可,于是 阅读全文

posted @ 2023-03-05 21:59 mlllily 阅读(1013) 评论(2) 推荐(0) 编辑

ConfigParser: '%' must be followed by '%' or '(', found: "%&'" 解决方案
摘要:是因为在 config.ini 文件中包含了 % 这种特殊字符 解决方案 换一种方式进行读取配置文件原本代码:cf= configparser.ConfigParser() 替换成:cf = configparser.RawConfigParser() 参考:https://blog.csdn.ne 阅读全文

posted @ 2020-07-28 14:25 mlllily 阅读(991) 评论(0) 推荐(0) 编辑

eval报错NameError: name 'null' is not defined
摘要:在转换的字符串中,存在null时,就会出现NameError: name ‘null’ is not defined这个错误。 解决办法:使用replace方法将null替换掉 注意:replace argument 2 must be str replace的两个参数都必须为字符串 str.rep 阅读全文

posted @ 2020-07-21 12:18 mlllily 阅读(955) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示