java - 如何将库导入/添加到 Spring STS 中?

标签 java eclipse spring sts-springsourcetoolsuite

我在使用 Spring STS 时遇到问题。我收到以下消息:

尝试下载模板项目时的这个:

"Error while downloading or parsing descriptors file 'https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml':

org.eclipse.core.runtime.CoreException: Error while retrieving https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml"

...当我检查更新时这个:

"Some sites could not be found. See the error log for more detail. No repository found at http://download.eclipse.org/tools/gef/updates/releases/site.xml. No repository found at http://geronimo.apache.org/devtools/. Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml. java.util.NoSuchElementException"

另外,请参阅附件中的屏幕截图,了解该工具套件如何不导入 java.whatever 和/或 org.springframework.whatever

我相信所有这三个问题都是相关的,但是我无法证明或解决它。

Import errors github - download template error google, eclipse and geronimo - update error

最佳答案

这里有一些可能的事情需要检查,
1. 您是否受到某种代理的委托(delegate)?
2.你是直接下载Spring STS还是更新eclipse?
3.如果您的Spring STS无法正常使用,您可以下载最新的eclipse并使用这个 link作为更新站点。
4. 您还可以检查项目类路径,以交叉确认您没有丢失任何内容。

HTH

关于java - 如何将库导入/添加到 Spring STS 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16344141/

相关文章:

Java 获取引用 URI?

java - 如何克隆 JDT ICompilationUnit

java - 使用库时如何强制实现特定类?

java - 如何用 MyBatis/Spring 实现批量操作?

java - if/else 不起作用并表示 else 需要 if

java - 模式匹配时如何忽略嵌套括号?

java - 如何在web.xml中映射jsp类?

java - 如何使 Eclipse 引用远程存储库中的最新版本而不是工作区中的当前版本?

java - logback.xml 未重新扫描

java - 从 Spring Security 上下文访问应用程序上下文