摘要: 父类: public class Parent { //看这里的this指的是什么 public Parent() { this.say(); } protected void say() { System.out.println("father"); } } 子类: public class Su 阅读全文
posted @ 2020-11-17 23:31 圣金巫灵 阅读(92) 评论(0) 推荐(0)
摘要: 今天调试spring一直遇到AbstractApplicationContext.refresh两次,发现是ContextLoaderListener调用两次。看配置文件不管怎么移除spring的Listener或者springmvc的servlet都是调用两次。 后面看日志发现可能是deploym 阅读全文
posted @ 2020-11-17 13:15 圣金巫灵 阅读(195) 评论(0) 推荐(0)