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一致