工作、学习中遇到的bug

  1. No converter found for return value of type: class com.wen.mall.tiny.common.api.CommonResult

在测试mall-tiny-01的数据查询时,报错,原因CommonResult的属性没有setter、getter方法
https://www.jianshu.com/p/e5d8ba73b13b

  1. Consider defining a bean of type 'XXX.Dao' in your configuration

Mybatis的配置文件中应该添加自定义的xml文件扫描路径

@MapperScan({"com.wen.mall.tiny.mbg.mapper","com.wen.mall.tiny.dao"})
  1. Invalid bound statement (not found)

配置文件出错,classpath后没有空格

mybatis:
  mapper-locations:
    - classpath:mapper/*.xml
    - claaspath*:com/**/mapper/*.xml
  1. Non-managed pom.xml file found

https://jingyan.baidu.com/art...

  1. 远程拉取gitlab代码提示early EOF The remote end hung up unexpectedly index-pack failed RPC failed; curl 18 transfer closed

重新拉取即可,下面网址并未参考
https://blog.csdn.net/u011250...

  1. idea从gitlab拉取代码

https://blog.csdn.net/wudinan...

  1. java.rmi.server.ExportException: Port already in use: 1099;

修改JMX端口即可

  1. mybatis plus 使用

https://baomidou.com/
https://www.csdn.net/gather_2...

  1. Error:java: Compilation failed: internal java compiler error

https://blog.csdn.net/wo54107...
10.Assert.notNull
https://www.cnblogs.com/mingf...
11.测试父类子类有同名方法时如何调用
https://blog.csdn.net/qq_2180...
github.work_demo
12.rocketmq报错service not available now, maybe disk full
https://blog.csdn.net/weixin_...
https://jingyan.baidu.com/art...
13.Lambda expressions are not supported at language level '1.5'
https://blog.csdn.net/xilin66...

你可能感兴趣的:(java)