简体   繁体   English

我在Eclipse中安装“ Spring IDE”插件时遇到问题,我想知道如何解决这个问题

[英]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.

相关问题 Eclipse:安装Spring IDE后,Maven插件消失了 - Eclipse: Maven plugin disappears after installing Spring IDE 当我想使用存储库时如何解决这个 Spring Boot 问题 - How to solve this Spring Boot problem when I want to use a Repository 我想知道如何使用Spring Cloud Stream简化多重绑定 - I want to know how to simplify multiple binding with Spring Cloud Stream 如何使用Eclipse Spring IDE创建在Wildfly上运行的Spring引导应用程序? - How do I use eclipse spring IDE to create a Spring boot application that runs on wildfly? 在Eclipse中使用Spring JDBC库时遇到麻烦 - Having trouble with using Spring JDBC libraries in Eclipse 我想知道如何从另一个应用程序中通过spring security获得webservices RES的内容安全 - I want to know how I can get the content of a webservices RES secure with spring security from another application Eclipse Photon 4.8 Spring IDE 下载和安装问题 - Eclipse Photon 4.8 Spring IDE Downloading and Installing Issue 如何在 Spring Tools 4 IDE 中启用 Spring 支持? - How do I enable Spring support in Spring Tools 4 IDE? 我正在编写更新批处理的通用方法。我想知道与数据库和缓存同步的更好方法 - I'm writting generic method for updating batch.I want to know better approach to synch with database and cache 如何解决 Spring Boot 中的 ConstraintViolationException - how do I solve the ConstraintViolationException in Spring Boot
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM