我在使用 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
我相信所有这三个问题都是相关的,但是我无法证明或解决它。
最佳答案
这里有一些可能的事情需要检查,
1. 您是否受到某种代理的委托(delegate)?
2.你是直接下载Spring STS还是更新eclipse?
3.如果您的Spring STS无法正常使用,您可以下载最新的eclipse并使用这个 link作为更新站点。
4. 您还可以检查项目类路径,以交叉确认您没有丢失任何内容。
HTH
关于java - 如何将库导入/添加到 Spring STS 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16344141/