1. Spring STS 下载地址 (spring 最近改了站点 暂时不是太熟悉)
http://spring.io/tools/sts/all
2. 下载 Virgo 插件
http://download.eclipse.org/virgo/milestone/tooling web
3. Eclipse 下载官方的 virgo + jetty 开发包 spring
http://www.eclipse.org/virgo/download/ app
4. 配置Virgo server
Eclipse 中
Window --> Preferences --> server --> Runtime Enviroments --> add --> EclipseRT --> server install directory 指定便可 eclipse
--------------------------------------------------------------------------------------------------------- spa
ECLIPSE STS 中对于OSGI 开发提供了不少支持,刚开始接触的时候可能会混淆使用 下面的操做请严格按照流程执行 插件
下面是virgo EclipseRT 项目 的配置 (不是PLUGIN) server
5. new project --> virgo --> Bundle Project 填写名称 ip
若是是web 就勾选 WEB application bundle / 须要填写web-contextPath (其余默认) ------------ finish 开发
这样编辑你的Manifest.MF 吧 get
=================================================
並不是全部的jar 均可被识别为bundle的, 须要改造 提供spring 的一个库