Idea 12配置SPring MVC 和Tomcat Server

配置Spring

1. 添加idea插件

image

都选上了。也许有用!

2. 添加Spring库

      下载spring,添加java库,指向spring库的目录:

image

配置tomcat Server

1. 安装tomcat插件

image

2. 指定tomcat路径

       下载tomcat,并在idea中指定解压后的路径或者是安装目录:

image

测试

1. 创建项目

image

2. 运行

image

需要注意的是:系统不能讲tomcat启动起来,否则idea就无法启动它了。

posted @ 2014-01-09 13:08  Javawer  阅读(671)  评论(0编辑  收藏  举报
作者:Roger Wei
出处:http://www.cnblogs.com/javawer/
转载须保留此声明,并注明在文章起始位置给出原文链接。