Spring MVC3.0, Maven2, Tomcat in Eclipse for Hello World Web Application
2010-02-18 04:29
671 查看
This is very good example to setup Spring MVC3.0, Maven2 and Tomcat in Eclipse3.5.
you need install Maven version2, m2eclipse, tomcat and the Sysdeo Tomcat plug-in for eclipse.
http://technologicaloddity.com/2010/01/19/hello-world-web-app-using-spring-annotations-part-1/
if you do not have sysdeo, that's fine. Setup Tomcat as your dev server in eclipse. when you run the application, you can check "include Modules" in current project ->Properties->Maven.
maybe this as well
But we're not quite ready yet. You might want bundle your dependencies
for the project at deploy time. Meaning that the jar libraries you
depend on will get copied over into the WEB-INF/lib folder. Right click
your project, and select Properties again. Now go to the "J2EE Module
Dependencies" and select what you want bundled.
here is one good artical for this as well
http://www.cnblogs.com/cbf4life/archive/2010/01/29/1659502.html
so far so good to learn Spring MVC.
But it's too more complicate than WebObjects, only reason to learn it is for job in JEE.
if it's my project I still want to do web application in webobjects.
本文出自 “我爱我家” 博客,请务必保留此出处http://speedooo.blog.51cto.com/226772/276888
you need install Maven version2, m2eclipse, tomcat and the Sysdeo Tomcat plug-in for eclipse.
http://technologicaloddity.com/2010/01/19/hello-world-web-app-using-spring-annotations-part-1/
if you do not have sysdeo, that's fine. Setup Tomcat as your dev server in eclipse. when you run the application, you can check "include Modules" in current project ->Properties->Maven.
maybe this as well
But we're not quite ready yet. You might want bundle your dependencies
for the project at deploy time. Meaning that the jar libraries you
depend on will get copied over into the WEB-INF/lib folder. Right click
your project, and select Properties again. Now go to the "J2EE Module
Dependencies" and select what you want bundled.
here is one good artical for this as well
http://www.cnblogs.com/cbf4life/archive/2010/01/29/1659502.html
so far so good to learn Spring MVC.
But it's too more complicate than WebObjects, only reason to learn it is for job in JEE.
if it's my project I still want to do web application in webobjects.
本文出自 “我爱我家” 博客,请务必保留此出处http://speedooo.blog.51cto.com/226772/276888
相关文章推荐
- Spring 3 MVC Framework Based Hello World Web Application Example Using Maven, Eclipse IDE And Tomcat
- run-jetty-run - Jetty Eclipse Plugin! Best plugin for running Jetty in Eclipse! Jetty,Eclipse,Maven,Web - Google Project Hosting
- Spring 3 MVC: Create Hello World application in Spring 3.0 MVC
- Eclipse使用maven搭建简单spring boot application Hello World
- Tomcat:Custom a common error page valve for all web application in tomcat
- Spring3MVC:Create Hello World application in Spring 3.0 MVC
- Spring 3 MVC: Create Hello World Application In Spring 3.0 MVC(reprint)
- 小白用eclipse创建一个maven+web3.0+JDK1.7+tomcat7.0的web项目
- maven Cannot change version of project facet Dynamic Web Module to 3.0 Error in Eclipse
- Spring 3 MVC: Create Hello World Application In Spring 3.0 MVC
- Spring MVC 学习笔记1 - First Helloworld by Eclipse【& - java web 开发Tips集锦】
- Spring 3 MVC: Create Hello World application in Spring 3.0 MVC
- 用eclipse4.4.2 创建maven3 tomcat7 web 3.0 工程
- Eclipse+tomcat(Jetty)+maven 配置Spring mvc图文教程
- Eclipse部署Maven web项目到tomcat服务器时,没有将lib下的jar复制过去的解决办法
- Eclipse中使用Maven创建Servlet3.0 Web 项目
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse/Maven error: "Dynamic Web Module 3.0 requires Java 1.6
- maven使用jstl表达式和The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application解决