简体   繁体   English

是否有一个项目方面可以在Eclipse中为项目添加spring库?

[英]Is there a project facet for adding spring libraries to a project in Eclipse?

Everywhere I look I can only see people adding external jars to their Spring MVC web projects when starting a new one. 我看到的任何地方我只能看到人们在开始新的时候将外部jar添加到他们的Spring MVC Web项目中。 Why isn't there a simple project facet for adding these to a project? 为什么没有一个简单的项目方面可以将这些添加到项目中? I mean, what's the point of creating all these neato eclipse plugins if I can't quickly start a dynamic web project for spring framework without going through this tedious manual process? 我的意思是,如果我不能通过这个繁琐的手动过程快速启动spring框架的动态Web项目,那么创建所有这些neato eclipse插件有什么意义呢?

Also if I have to download these jars separate of the Spring IDE and core plugins won't I run into problems if the versions become out of sync. 此外,如果我必须单独下载这些jar的Spring IDE和核心插件,如果版本不同步,我将不会遇到问题。

There are project facets for jstl, struts, jsf...etc.. why not spring? 有jstl,struts,jsf ...等项目方面。为什么不春天?

It seems there is a package from Oracle which contains a Spring facet , but it also contains quite a large amount DB & WebLogic Stuff. 似乎Oracle有一个包含Spring facet的软件包,但它也包含相当多的DB和WebLogic Stuff。

http://blog.symbyo.com/2010/02/build-java-application-with-eclipse.html http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html http://blog.symbyo.com/2010/02/build-java-application-with-eclipse.html http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html

MyEclipse for Spring will automatically add all required libraries to Spring MVC, Spring Web Flow, Adobe+Spring, and GWT+Spring web applications. MyEclipse for Spring将自动将所有必需的库添加到Spring MVC,Spring Web Flow,Adobe + Spring和GWT + Spring Web应用程序中。 It definitely saves a lot of time when starting new projects. 在开始新项目时,它肯定会节省大量时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM