1.Command line is too long.Shorten command line for SpringBootMainApplication or also for Application default configuration
原因:springboot项目启动命令过长。
解决:
2.Verify the message's origin in this cross-origin communication
原因:在跨源通信中验证信息的来源
场景:在俩监听函数中报错
查找原因后问题:认为是钩子函数问题
解决:把键盘函数加入方法中,mounted中写监听器,使用完处理掉监听器
3.Unexpected duplicate "line-height"
问题:css样式语句中重复,例如:line-height: 20px;与line-height: 0px !important;
解决:css优先级规则; !important优先级更高,将前面重复的删掉即可
4.Remove this conditional structure or edit its code blocks so that they're not all the same
问题:某个条件结构(如 if
语句、switch
语句等)中所有的代码块都是相同的
解决:只要代码块即可
5.Expected an assignment or function call and instead saw an expression.
问题:要么有多余的表达式要么就是没有return;
解决:逻辑修改一下或者加上return即可
6.### Error querying database. Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
问题:xml中,对时间进行空串对比
解决:只需要进行null值对比即可
7.Invalid bound statement (not found)
问题:MyBatis在尝试执行SQL语句时找不到对应的mapper
解决:检查命名空间是否一致,若一致还是找不到,删除对应的方法,重新创建即可