Java
java中记录
weixin_42406969
这个作者很懒,什么都没留下…
展开
-
java 调用start()和调用run()方法
/** * Causes this thread to begin execution; the Java Virtual Machine * calls the <code>run</code> method of this thread. * <p> * The result is that two threads are running concurrently: the * current thread ...原创 2020-07-13 20:12:53 · 339 阅读 · 0 评论 -
springboot整合mybatis时@Mapper报错 idea
@Autowired(required=false):表示忽略当前要注入的bean,如果有直接注入,没有跳过,不会报错。 当使用@Autowired注解的时候,其实默认就是@Autowired(required=true),表示注入的时候,该bean必须存在,否则就会注入失败。 注解默认: 原因:https://blog.csdn.net/static_coder/articl...原创 2020-03-24 17:49:42 · 339 阅读 · 0 评论