xml配置文件头部,spring的配置书写在<beans>标签内部
```java
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
</beans>
spring ioc部分最小依赖包:
spring-beans-4.3.18.RELEASE.jar //bean的核心包
spring-context-4.3.18.RELEASE.jar //spring上下文
spring-core-4.3.18.RELEASE.jar //spring核心包
spring-expression-4.3.18.RELEASE.jar //spring EL表达式包