关于java:工作学习中遇到的bug

7次阅读

共计 1096 个字符,预计需要花费 3 分钟才能阅读完成。

  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

正文完
 0