想要飞的小乌龟2022-08-04 技术文章 关于HashMap的加载因子相关理解 HashMap criteria = new HashMap<>(1);什么意思呢?关于加载因子加载因子也叫作扩容因子,用来判断什么时候进行扩容,假 2022-08-04 76 阅读 阅读全文
想要飞的小乌龟2022-08-04 技术文章 idea中maven项目pom文件无法识别 在idea中直接打开maven项目的时候,有时候可能不会识别pom文件解决办法:右键pom.xml文件 -> add as maven project 2022-08-04 82 阅读 阅读全文
想要飞的小乌龟2022-08-04 技术文章 Tomcat启动时报错,Failed to start component StandardContext 解决方法: 修改tomcat配置文件catalina.properties tomcat.util.scan.DefaultJarScanner.ja 2022-08-04 79 阅读 阅读全文
想要飞的小乌龟2022-08-04 技术文章 Controller 并发安全,如何保证?(面试题) 单例模式(Singleton)是程序设计中一种非常重要的设计模式,设计模式也是Java面试重点考察的一个方面。面试经常会问到的一个问题是:SpringMVC中的Controller是单例还是多例,很多同学可能会想当然认为Controller是多例,其实不然。 2022-08-04 92 阅读 阅读全文