![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring学习总结
jamin_tan007
笨鸟先飞,因为善于总结...
展开
-
spring控制反转,依赖注入的理解
在网上看到一篇文章,感觉写得挺不错的,转载一下,本文转载自:http://blog.csdn.net/m13666368773/article/details/7802126 一. IoC理论的背景 我们都知道,在采用面向对象方法设计的软件系统中,它的底层实现都是由N个对象组成的,所有的对象通过彼此的合作,最终实现系统的业务逻辑。 如果我们打开机械式手表的后盖,就转载 2015-09-16 19:56:47 · 538 阅读 · 0 评论 -
SpringMVC异常总结:启动tomcat时出错,无法正取加载spring配置文件
异常提示: ERROR context.ContextLoader: Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-IN原创 2015-11-27 14:40:49 · 936 阅读 · 0 评论 -
Spring常用注解,自动扫描装配Bean
1 引入context命名空间(在Spring的配置文件中),配置文件如下: xmlns:context="http://www.springframework.org/schema/context" http://www.springframework.org/schema/context http://www.springframework.org/schema/context/sp原创 2015-11-27 15:09:23 · 329 阅读 · 0 评论