摘要:
...applicationContext.xml] cannot be opened because it does not exist。 刚才在进行单元测试时,报这个错,我把它放到了src的某个包的下面了, 一般对于配置文件idea扫描的话是直接扫描src下,所以最好建个资源文件夹。 或者在单元 阅读全文
摘要:
关于HashSet的equals和hashcode的重写:package Test; import java.util.HashSet; import java.util.Set; public class HashSetTest { public static void main(String[] args) { Set hs = new HashSet(); ... 阅读全文