乐趣区

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

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

2.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"})

3.Invalid bound statement (not found)
配置文件出错,classpath 后没有空格

mybatis:
  mapper-locations:
    - classpath:mapper/*.xml
    - claaspath*:com/**/mapper/*.xml

4.Non-managed pom.xml file found

https://jingyan.baidu.com/art…
5. 近程拉取 gitlab 代码提醒 early EOF The remote end hung up unexpectedly index-pack failed RPC failed; curl 18 transfer closed
从新拉取即可,上面网址并未参考
https://blog.csdn.net/u011250…
6.idea 从 gitlab 拉取代码
https://blog.csdn.net/wudinan…
7.java.rmi.server.ExportException: Port already in use: 1099;
批改 JMX 端口即可
8.mybatis plus 应用
https://baomidou.com/
https://www.csdn.net/gather_2…
9.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…
14.IDEA 热部署
https://blog.csdn.net/qq_1614…
15.Handler processing failed; nested exception is java.lang.NoSuchMethodError
https://blog.csdn.net/hello_w…
16.java Timer
https://blog.csdn.net/qq_3949…
17.try 加() 什么意思
https://blog.csdn.net/llkoio/…
18.CopyOnWriteArraySet
https://www.cnblogs.com/xiaol…
19.redis 数据结构
https://www.cnblogs.com/haopr…
20.jedis
https://www.cnblogs.com/tengf…
21.utils 层与 tools 层,manager 层与 service 层,helper 层概念了解 https://blog.csdn.net/cchchun…

退出移动版