BUG解决

springboot+mybatis:

1、Invalid bound statement(not found)
mybatis: mapper-locations:少写了mybatis:
2、Waiting server-side response timeout by scan timer. start time
spring: datasource: 的username写成name

Thymeleaf

1、Cannot resolve ‘xxx’ less… (Ctrl+F1)
Inspection info: Validates unresolved references and invalid expressions.
使用${name}接收从controller传来的数据,controller必须先有model.addAttribute(“name”, name)
还有一种情况是,已经model.addAttribute,但controller返回的页面错误
2、’&’, ‘(’, ‘)’, ‘,’, ‘/’, ‘:’, ‘;’, , IDENTIFIER, STRING_IDENTIFIER, and, div, empty, eq, false, ge, gt, instanceof, le, lt, mod, ne, not, null, or, true or ‘|’ expected, got ‘%’

例如使用th:text="|${name}5%|",会针对百分号报错,其实不影响使用,无视即可

zookeeper

java.lang.IllegalStateException: zookeeper not connected
zookeeper服务在远程linux时,timeout设久,timeout: 30000

mysql

org.apache.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2021-05-07 11:27:22.024, end time: 2021-05-07 11:27:23.041, client elapsed: 0 ms, server elapsed: 1017 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=queryUserNumber, parameterTypes=[], arguments=[], attachments={path=com.bjpowernode.p2p.service.UserService, remote.application=p2p-web, interface=com.bjpowernode.p2p.service.UserService, version=0.0.0}]], channel: /192.168.31.1:55355 -> /192.168.31.1:20880

提示是dubbo,其实是mysql密码错误

Eclipse使用

web.xml出现There is ‘1’ error in ‘javaee_7.xsd’.异常
解决:从id开始换一行
Type Java compiler level does not match the version of the install
解决:项目上右键properties->project Facets->修改右侧的version与java compiler和build path一致

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值