[英]I'm having trouble installing the 'Spring IDE' plugin in Eclipse, and I want to know how to solve this
I want to install and configure spring framework in eclipse. 我想在Eclipse中安装和配置spring框架。 However, the installation process is failing. 但是,安装过程失败。
The operating system of the PC I use is Window7, 32bit. 我使用的PC的操作系统是Window7,32位。 RAM is 2GB. 内存是2GB。
I ran Eclipse (Version: Neon.3 (4.6.3)) and clicked on help> Eclipse Marketplace. 我运行Eclipse(版本:Neon.3(4.6.3)),然后单击帮助> Eclipse Marketplace。
I searched for "spring" but the Spring Tools 3 Add-on didn't show up. 我搜索了“ spring”,但未显示Spring Tools 3 Add-on。
So I clicked help> Install New Software again. 因此,我再次单击帮助>安装新软件。
Write http://dist.springframework.org/release/IDE to Work with and press Enter. 编写http://dist.springframework.org/release/IDE进行操作,然后按Enter。
Checked out Core, Extensions, Integrations. 签出核心,扩展,集成。 When I pressed the New button, an error occurred as shown in the photo below. 当我按下“新建”按钮时,发生了如下图所示的错误。
I restarted Eclipse. 我重新启动了Eclipse。 This time I checked only Core. 这次我只检查了Core。 When I pressed the New button, an error occurred as shown in the photo below. 当我按下“新建”按钮时,发生了如下图所示的错误。
Sometimes I see the following message in Details: Cannot complete the install because one or more required items could not be found. 有时,我在“详细信息”中看到以下消息:无法完成安装,因为找不到一个或多个必需项。 Software being installed: Spring IDE Core (required) 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.9.201906180643-RELEASE) Missing requirement: Boot UI Support 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.boot.wizard 3.9.9.201906180643-RELEASE) requires 'package javax.ws.rs 2.0.1' but it could not be found Cannot satisfy dependency: From: Spring IDE Buildship Integration 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.buildship30 3.9.9.201906180643-RELEASE) To: bundle org.springframework.ide.eclipse.boot.wizard 0.0.0 Cannot satisfy dependency: From: Spring IDE Core (required) 3.9.9.201906180643-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.9.201906180643-RELEASE) To: org.springframework.ide.eclipse.buildship30 [3.9.9.201906180643-RELEASE] 正在安装的软件:Spring IDE Core(必需)3.9.9.201906180643-RELEASE(org.springframework.ide.eclipse.feature.feature.group 3.9.9.201906180643-RELEASE)缺少要求:引导UI支持3.9.9.201906180643-RELEASE(org.springframework .ide.eclipse.boot.wizard 3.9.9.201906180643-RELEASE)需要'package javax.ws.rs 2.0.1',但找不到它无法满足依赖关系:来自:Spring IDE Buildship Integration 3.9.9.201906180643-RELEASE(org。 springframework.ide.eclipse.buildship30 3.9.9.201906180643-RELEASE)至:捆绑org.springframework.ide.eclipse.boot.wizard 0.0.0无法满足依赖关系:来自:Spring IDE Core(必需)3.9.9.201906180643-RELEASE(org。 springframework.ide.eclipse.feature.feature.group 3.9.9.201906180643-RELEASE)至:org.springframework.ide.eclipse.buildship30 [3.9.9.201906180643-RELEASE]
I modified -Xms256m -Xmx1024m to -Xms2048m -Xmx4096m among the contents of the eclipse.ini file. 我将eclipse.ini文件的内容中的-Xms256m -Xmx1024m修改为-Xms2048m -Xmx4096m。 But the result is the same. 但是结果是一样的。
How can I install the spring framework in eclipse? 如何在Eclipse中安装spring框架?
Solved. 解决了。 Eclipse 4.6.3 and STS3.9.9 do not seem to fit. Eclipse 4.6.3和STS3.9.9似乎不合适。
I tried http://dist.springsourse.com/snapshot/TOOLS/nightly/e4.3 at Eclipse> help> Install New Software. 我在Eclipse>帮助>安装新软件上尝试了http://dist.springsourse.com/snapshot/TOOLS/nightly/e4.3 。 STS3.7.0 has been installed. 已安装STS3.7.0。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.