项目报错信息

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

解决:检查命名空间是否一致,若一致还是找不到,删除对应的方法,重新创建即可 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值