标签: spring-tool-suite

Eclipse中的Spring插件无法打开pom.xml

我已经在 Eclipse 中安装了最流行的插件(Spring Tools 4.14.1),我尝试创建一个新项目并打开 pom.xml,然后它显示错误并类似于

Failed to create the part's controls

错误显示如下。为什么会出现这种情况?如何修复它?

java.lang.NoClassDefFoundError: org/eclipse/tm4e/ui/utils/ContentTypeHelper
    at org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher.findContentTypes(LanguageConfigurationCharacterPairMatcher.java:134)
    at org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher.getMatcher(LanguageConfigurationCharacterPairMatcher.java:113)
    at org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher.match(LanguageConfigurationCharacterPairMatcher.java:47)
    at org.eclipse.jface.text.source.MatchingCharacterPainter.paint(MatchingCharacterPainter.java:313)
    at org.eclipse.jface.text.PaintManager.addPainter(PaintManager.java:207)
    ...
Run Code Online (Sandbox Code Playgroud)

eclipse spring-tool-suite spring-tools-4

22
推荐指数
1
解决办法
2万
查看次数

“Bean Validation API 在类路径上,但找不到实现”阻止启动

我正在使用 Spring Tool Suite 来处理 Java 中的 ReST 服务。但是一开始我无法启动我的第一个简单应用程序。请帮忙。我得到低于错误。[使用Java8,STS套件,Ubuntu 16.04,$Java_Home:/usr/lib/jvm/java-8-oracle

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.4.2.RELEASE)

2018-01-28 09:37:14.658  INFO 7971 --- …
Run Code Online (Sandbox Code Playgroud)

java maven spring-tool-suite spring-boot

21
推荐指数
3
解决办法
2万
查看次数

如何在Eclipse中启用gradle语法highligting?

我安装了包含Gradle IDE的STS插件,但似乎没有多大帮助.

在此输入图像描述

添加1

Buildship Gradle Integrations 的效果Gradle Build Script Editor:

在此输入图像描述

eclipse gradle spring-tool-suite

20
推荐指数
3
解决办法
1万
查看次数

在Eclipse或STS中按CTRL + H时如何将"文件搜索"设置为默认对话框?

当我按下Eclipse/STS中的CTRL+ H键盘快捷键时,搜索模式似乎被选中,而不是"文件搜索",具体取决于活动的(调试/ Java),这迫使我指向"文件搜索",使用我的鼠标等,而不是让我立即粘贴我的搜索模式从剪贴板.

由于"文件搜索"模式是我最常用的模式,当我在Eclipse中按CTRL+ 时,是否有一种方法可以自动选择"文件搜索"而不是"远程搜索","插件搜索"等HSTS?

eclipse full-text-search keyboard-shortcuts spring-tool-suite

18
推荐指数
1
解决办法
4968
查看次数

无法执行操作.计算替代解决方案,可能需要一段时间STS?

我想问一下,Available Software Site在Eclipse/STS(Spring Tool Suite)中添加新软件和使用新软件时,这个错误是什么意思Install New Software

我遇到了这个问题Spring Tool Suite Nightly Build:

http://dist.springsource.com/snapshot/STS/nightly-distributions.html

我正在尝试更新我的STS并重新安装Welcome Dashboard.当我尝试添加以下内容时Available Software Site:

http://dist.springsource.com/snapshot/TOOLS/nightly/e4.5

我选择所有项目以便安装它们,

然后此消息显示在进度指示器中:

无法执行操作.计算替代解决方案可能需要一段时间.

有时即使尝试更新某些内容,我也会收到此消息.

这是什么意思?我已经安装了一些物品?联系该网站有问题吗?

eclipse installation spring-tool-suite

18
推荐指数
1
解决办法
4万
查看次数

@SpringBootApplication无法解析为STS中的类型

我对STS很新.我在stackoverflow中搜索了这个错误.我找不到正确的匹配答案.

我能够在STS中看到MavenDependencies中的类,但是无法在我的java类中添加注释.

在此输入图像描述 你的帮助将得到满足.谢谢

在此输入图像描述

java spring spring-tool-suite spring-boot

18
推荐指数
2
解决办法
3万
查看次数

Eclipse在Maven更新期间抛出NullPointerException

我已经打了两天内部Eclipse错误了.我正在运行Eclipse的最新Spring Tool Suite版本,并且我试图导入一系列现有的Maven项目.每当我这样做时,Eclipse会抛出NullPointerException,但错误日志视图中没有可用的堆栈跟踪.如果我指示Eclipse更新Maven项目(Maven> Update Project),我会再次获得NullPointerException.这次,错误日志视图报告以下堆栈跟踪:

java.lang.NullPointerException
    at org.eclipse.wst.common.componentcore.internal.resources.VirtualResource.getProjectRelativePaths(VirtualResource.java:119)
    at org.eclipse.wst.common.componentcore.internal.resources.VirtualFile.getUnderlyingFiles(VirtualFile.java:104)
    at org.eclipse.wst.common.componentcore.internal.resources.VirtualFile.getUnderlyingResources(VirtualFile.java:93)
    at org.eclipse.wst.common.componentcore.internal.resources.VirtualResource.exists(VirtualResource.java:88)
    at org.eclipse.jst.common.internal.modulecore.util.ManifestUtilities.getNonBinaryComponentManifest(ManifestUtilities.java:124)
    at org.eclipse.jst.common.internal.modulecore.util.ManifestUtilities.getManifest(ManifestUtilities.java:81)
    at org.eclipse.jst.common.internal.modulecore.util.ManifestUtilities.getManifestClasspath(ManifestUtilities.java:147)
    at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestClasspath(J2EEModuleVirtualComponent.java:248)
    at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.calculateManifestReferences(J2EEModuleVirtualComponent.java:368)
    at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.cacheManifestReferences(J2EEModuleVirtualComponent.java:360)
    at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:176)
    at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:214)
    at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:207)
    at org.eclipse.m2e.wtp.WebProjectConfiguratorDelegate.configureClasspath(WebProjectConfiguratorDelegate.java:386)
    at org.eclipse.m2e.wtp.WTPProjectConfigurator.configureClasspath(WTPProjectConfigurator.java:107)
    at org.eclipse.m2e.jdt.internal.DefaultClasspathManagerDelegate.populateClasspath(DefaultClasspathManagerDelegate.java:61)
    at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:253)
    at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:363)
    at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:343)
    at org.eclipse.m2e.jdt.internal.BuildPathManager.getClasspath(BuildPathManager.java:371)
    at org.eclipse.m2e.jdt.internal.BuildPathManager.updateClasspath(BuildPathManager.java:191)
    at org.eclipse.m2e.jdt.internal.BuildPathManager.mavenProjectChanged(BuildPathManager.java:180)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.notifyProjectChangeListeners(ProjectRegistryManager.java:746)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.applyMutableProjectRegistry(ProjectRegistryManager.java:865)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:289)
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:369)
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:316)
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:1)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89)
    at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1301)
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:313)
    at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:77)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Run Code Online (Sandbox Code Playgroud)

这是我尝试过的:

  • 我已经吹走了我的工作区并创建了一个新工作区.多次. …

java eclipse maven spring-tool-suite

14
推荐指数
3
解决办法
3万
查看次数

Spring Tool Suite下载和安装

我已经下载了spring-tool-suite-3.6.1.RELEASE-e4.4-win32-x86_64.zip,并在尝试解压缩和安装时遇到以下错误:

Error 0x80010135: Path too long
POM.properties
Type PROPERTIES File
Date Modified 6/11/2014 12:47PM
Size 146 bytes.
Run Code Online (Sandbox Code Playgroud)

可能是什么原因?

spring spring-tool-suite

14
推荐指数
2
解决办法
2万
查看次数

Spring Tool Suite 中的项目报告“无法加载注释处理器工厂”

我在 Spring Tool Suite 中的项目报告 Unable to "load annotation processor factory 'org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor' for project XXX",我的项目运行正常,但我不想看到这个错误。我做了很多搜索,但我找不到任何结果。非常感谢。

在此处输入图片说明

java spring spring-tool-suite

14
推荐指数
2
解决办法
9512
查看次数

Spring Tool Suite 3.6.1不会更新

在Eclipse Luna中更新Spring Tool Suite,因为我关闭了下载Eclipse 3.7更新的选项,因此出现以下错误:

**An error occurred while collecting items to be installed session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.quicksearch,3.6.1.201408250654-RELEASE
No repository found containing: osgi.bundle,org.springsource.sts,3.6.1.201408250824-RELEASE
No repository found containing: org.eclipse.update.feature,org.springsource.ide.eclipse.commons.quicksearch.feature,3.6.1.201408250654-RELEASE
No repository found containing: org.eclipse.update.feature,org.springsource.sts,3.6.1.201408250824-RELEASE
No repository found containing: binary,org.springsource.sts.ide.executable.win32.win32.x86_64,3.6.1.201408250824-RELEASE-e43
No repository found containing: org.eclipse.update.feature,org.springsource.sts.package,3.6.1.201408250824-RELEASE-e43
No repository found containing: binary,org.springsource.sts.package_root,3.6.1.201408250824-RELEASE-e43**
Run Code Online (Sandbox Code Playgroud)

我安装的版本是:

Spring Tool Suite 
Version: 3.6.0.RELEASE
Build Id: 201407101106
Platform: Eclipse Luna (4.4)**
Run Code Online (Sandbox Code Playgroud)

有谁知道如何解决这一问题?

java spring-roo spring-tool-suite eclipse-luna

13
推荐指数
3
解决办法
2万
查看次数