- 博客(5)
- 收藏
- 关注
原创 2021-03-04
java.sql.SQLException: 无效的列索引java.sql.SQLException: 无效的列索引“无效的列索引”其实是个低级的错误,原因无非几个:1、sql串的?号数目和提供的变量数目不一致:例如:jdbcTemplate.update(sql, new Object[] {newState,oldState});如果sql里面有1个?号,Object[]送了2个,就会报错。2、sql串里的?号书写不正确英文?和中文?有时难以区分。3、sql串的?号用’'括了起来。例如
2021-03-04 10:48:36
200
1
原创 导入项目的时候,运行时出现了 Bug – 错误: 找不到或无法加载主类 xxxx
导入项目的时候,运行时出现了 Bug – 错误: 找不到或无法加载主类 xxxx通过 eclipse 上的 Problem 描述 ,找到对应项目的 errors 描述发现错误描述为Description Resource Path Location TypeArchive for required library: ‘C:\Users\xxx.m2\repository\commons-lan...
2019-11-19 21:39:26
423
原创 Python报错: python setup.py egg_info" failed with error code 1 in xxxx
Python报错: Command “python setup.py egg_info” failed with error code 1 in C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-q898_3gw\Twisted\这是因为你电脑同时用 Python2.7+ 和3.5+ 版本. 默认pip会使用 2.7+ 版...
2019-03-15 20:29:05
527
原创 The import xxx cannot be resolved
遇到一个无法resolved的错误,如图所示,这个包cannot be resolved导致这种错误的可能性,有很多,我百度了,会导致这种错的其他可能性,在这里总结一下,希望帮助到遇到同样错误的同学1、clean项目,重新编译项目。【解决】一般使用eclipse/myeclipse的菜单 project -> clean …可以解决。同时最好选中Build Automatically...
2019-03-15 09:32:54
2815
原创 报错:Project build error: Non-resolvable parent POM for...
报错:Project build error: Non-resolvable parent POM for…使用Spring Tool Suite,按照向导创建Spring boot starter project,结果,报错。错误指向POM.xml的Parent节点。详细查看错误提示,发现为TIME OUT。因此,需要重新触发Maven的Update。1.解决方案(1)工程–》右...
2019-03-13 16:12:01
33960
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人