怎样在IDEA中使用MAVEN搭建Spring Web MVC的Hello示例
来源:互联网 发布:光年无限科技公司知乎 编辑:程序博客网 时间:2024/04/30 08:59
怎样在IDEA中使用MAVEN搭建Spring Web MVC的Hello示例
目录结构
- pom.xml
- .gitignore
- src
- main
- java
- resource
- webapp
- index.jsp
- WEB-INF
- views
- spring-servlet.xml
- web.xml
- test
- main
pom.xml
<modelVersion>4.0.0</modelVersion>
<groupId>HelloMVCTest</groupId>
<artifactId>HelloMVCTest</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<spring.version>3.2.13.RELEASE</spring.version>
</properties>
<dependencies>
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${spring.version}</version></dependency><dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> <scope>runtime</scope></dependency>
</dependencies>
<build>
<finalName>spring-jpa-tomcat</finalName>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<port>9090</port>
<!-- application path always starts with /-->
<path>/</path>
<useTestClasspath>false</useTestClasspath>
</configuration>
</plugin>
</plugins>
</build>
- 怎样在IDEA中使用MAVEN搭建Spring Web MVC的Hello示例
- 使用maven搭建Java Web的spring MVC项目
- IDEA使用MAVEN搭建SSM(IDEA+Maven+Spring+Spring MVC+Mybatis)
- IDEA使用maven创建Spring MVC WEB项目
- Intellij IDEA + Spring MVC + Maven 环境搭建
- idea 搭建maven+spring mvc+jpa框架
- 使用maven搭建Spring MVC
- IntelliJ IDEA 最简单配置搭建Spring MVC Java web Maven项目
- IDEA中创建MAVEN spring mvc项目
- IDEA+spring +mvc +maven
- 使用Maven构建Spring MVC项目的简单示例
- 使用Maven构建Spring MVC项目的简单示例
- 使用Maven构建Spring MVC项目的简单示例
- IDEA+Maven 搭建spring-Spring Mvc-MyBatis环境
- maven搭建spring mvc web项目
- 在IDEA中简单使用Maven构建web项目
- 使用Lift+Maven+Idea搭建web应用
- SPring MVC i18n 国际化使用流程Demon(Maven项目的搭建和web、spring框架的添加)
- (转)java 异常
- Mysql 自动启动的配置
- 纯c语言写的拼图游戏
- Http、TCP/IP协议与Socket之间的区别
- linux chmod命令
- 怎样在IDEA中使用MAVEN搭建Spring Web MVC的Hello示例
- Xcode Please tell me who you are. Run git config --global user.email
- 【整理】一堆磨人の数学概率期望
- Android基础BroadCastReceiver简介
- linux下的apache2 + mysql5 + php4 + gd2 源码完整安装详解
- Bamboo的一些基本概念
- JNI/NDK开发指南(一)—— JNI开发流程及HelloWorld
- 《嵌入式系统设计师》笔记之二——嵌入式微处理器与接口知识
- Swift之自定义UITableViewCell