转载自:https://blog.csdn.net/gnail_oug/article/details/51925804:个人做了些小修改. 今天下载了eclipse4.6版本,打开时报Version 1.7.0_45 of the JVM is not suitable for this product. Version:1.8 or greater is required.,提示jdk版本要1.8以上,如下图: 由于不想直接将环境变量配置的jdk1.7改为jdk1.8,所以单独在eclips
bean 配置文件属性 init-method 用于在bean初始化时指定执行方法,用来替代继承 InitializingBean接口.相关链接:https://www.cnblogs.com/JoeyWong/p/9304737.html 测试程序如下: public class TestInitMethod{ public void testInit(){ System.out.println("test init-method"); } } 配置文件如下: <bean id