spring 框架:如何使用 eclipse j2ee indigo 启动 Web 项目?
我在 debian-6 上。
我已经安装了ant,tomcat6,openjdk-6-jre。
现在从 eclipse 中我将创建哪个项目作为 spring 框架?
我也在关注这个=> http://static.springsource.org/docs/Spring -MVC-step-by-step/part1.html 但我不明白如何从 eclipse for spring 框架 MVC 开始。
我错过了什么吗?
I'm on debian-6.
I have install ant,tomcat6,openjdk-6-jre.
Now from eclipse which project would i create as spring framework ?
I'm also following this => http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html
But i can't understand how to start with eclipse for spring framework MVC .
Did i miss anything ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
下载 Spring Source Tool Suite (STS)——它是 Spring Source 提供的免费 Eclise,其中包含您需要的插件(spring ide、m2eclipse、aspectJ,...)。所以你不需要手动下载它们。
它与普通 Eclipse 完全兼容,因此您可以安装您想要的所有其他插件。
顺便说一句,据我所知,Spring IDE 并不包含 STS 提供的所有功能。
STS 在新项目向导中包含类别:“SpringSource Tool Suite”(不是“Spring”)。此类别中有项目模板“Spring Template Projet”。选择此选项后,您可以选择您需要的内容。例如“Spring MVC 项目”。
Download Spring Source Tool Suite (STS) -- it is an free Eclise provided by Spring Source containing the plugins you need (spring ide, m2eclipse, aspectJ, ...). So you do not need to download them all by hand.
It is fully compatible with the normal Eclipse so you can install all other plugins you want to have.
Btw as far as I know, the Spring IDE contains not all the features that STS provides.
STS contains in the new project wizard the category: "SpringSource Tool Suite" (not "Spring"). Within this category is the Project template "Spring Template Projet". After selecting this you can choose what you need. For example "Spring MVC Project".
打开 Eclipse,转到帮助>Eclipse Marketplace 并搜索 Spring IDE。安装它,最后(安装并重新启动 Eclipse 后),您应该在 File>New 选项卡上看到一个 Spring 项目菜单。但我建议你使用 maven 而不是 ant 来构建你的应用程序。
Open your Eclipse go to Help>Eclipse Marketplace and search Spring IDE. Install it and at the end (afer installation and eclipse restart) you should have a spring project menu on File>New tab. But i suggest you to use maven instead of ant to build you apps.