java学习------spring mvc【eclipse + tomcat + spring】

 

mmp, 可算是配置好了,特写篇博客记录一下。

********************************************************************************************************************

参考: https://blog.csdn.net/mottohlm/article/details/80468868 【一步步来就成了,我就是的】

配置分享:

         1、我eclipse用的photon版本(5.1.2 spring framework) ,用的是http://www.springframework.org/schema/beans/spring-beans.xsd,其他同理。

               

         2、参考网址(左),我的(右)

              

        3、配置过程中,这些jar包得都弄全了。spring-....【这些全在你下载的spring-framework中,选你想要的(lib目录下)】我的是spring-framework-5.1.2.RELEASE,其他jstl.jar、standard.jar、servlet-api.jar 直接网上找资源,commons-logging-..jar【你下载的commons-logging压缩包中】......至于这些都是干嘛的,我大部分都不清楚,后续清楚了就更新文章。

                                                       

       4、直接到博主的https://github.com/mottohlm/springmvctest去拷,不要在博客页面上弄,不然很淡腾。

       5、tomcat 安装比较简单,随便找找博客照着装下就成了。

       6、说了这么多,为什么能显示页面,以及那些jar包有什么用,完全不清楚【后续就一个个去理解吧 ^-^ 】。

猜你喜欢

转载自blog.csdn.net/qq_32446743/article/details/84391827