spring--准备工作

1.准备jar包           spring-framework-4.2.4.RELEASE-dist.zip

     解压jar包----简单介绍解压后的文件夹

           

 

    其中lib文件夹下:

            

 

 

  2.搭建环境----(这里用eclipse)

             1)创建javaWeb项目

             2)创建lib文件夹并导入下面jar包(不要忘记builder path)

                     

 

            3)在src文件夹下创建applicationContext.xml

                 

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd">

</beans>

 

   就这么多

 

posted @ 2020-03-29 17:25  wwww2  阅读(108)  评论(0编辑  收藏  举报