我目前正在使用Mac上的Spring Tool Suite中的多个大型webapps(运行时每个webapp实际上包含3-7个eclipse项目).导入和项目验证完成后,每个导入的webapp都有几个错误.maven构建将不断失败,直到我右键单击与给定webapp关联的每个项目并选择Maven - > Disable Workspace Resolution.我可以认为运行maven clean,maven update和maven build来清除所有错误.
如果有一种方法可以在我的eclipse设置/首选项中禁用Maven Workspace Revolution,那么它是一个全局的一次性设置,它告诉eclipse工作区中的每个项目都不使用Workspace Resolution?
下面是我拍摄的一些截图,希望能够提供所有相关细节,例如版本号.


我刚刚从使用带有附加组件的eclipse转换到使用预配置的Spring Tool Suite,因此安装只有几周时间.它应该是大多数插件的最新版本.
我安装了Spring Tool Suite(STS)3.6.3.在家里的另一台PC上,我记得能够通过打开Dashboard窗口并检查Extensions选项卡上的"Subsclipse"复选框,将SVN集成添加到STS中.但是,我在当前安装中看不到此选项.我也包括安装的扩展,我没有在列表中看到Subclipse.
当我在Project Explorer窗口中选择Project文件夹时,右键单击→ Team → Share Project,我只看到CVS和Git作为选项,但我想使用SVN.
我对Java的所有经验都是用小时而不是几年来衡量的,所以不要假设:-)
如何将SVN与STS集成?
当我检查更新时,Eclipse抛出以下错误:
An internal error occurred during: "Searching alternate solutions...".
org.codehaus.groovy.eclipse 2.6.1.xx-20120301-1300-e36-RELEASE is unknown in the solver!
Run Code Online (Sandbox Code Playgroud)
我已经搜索并检查了这个相关问题,但是我没有安装上述软件包。当我在已安装的软件中搜索groo / java 8等时,都没有列出任何内容。
如果我只是忽略列出的groovy插件更新(并标记为错误),并尝试继续进行更新,则更新软件时出现以下错误:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.codehaus.jackson.core,1.9.13
No repository found containing: osgi.bundle,org.codehaus.jackson.mapper,1.9.13
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.0.0.v20110215-1551
No repository found containing: osgi.bundle,org.springframework.roo.wrapping.protobuf-java-lite,2.3.0.0001
Run Code Online (Sandbox Code Playgroud)
Eclipse版本:Neon发行版(4.6.0)和内部版本ID:20160613-1800
我该如何解决?
Eclipse的安装详细信息:
Ansi Console 1.3.1.201508091828 net.mihai-nita.ansicon.feature.group Mihai Nita
Axis2 Tools 1.1.301.v201410160332 org.eclipse.jst.ws.axis2tools.feature.feature.group Eclipse Web Tools Platform
Cloud Foundry Tools Core 1.0.4.v201606021906 …Run Code Online (Sandbox Code Playgroud) 我已经在现有的Eclipse Oxygen安装中安装了早期版本的Spring Tools,我可以使用上下文菜单选择并使用Spring Properties Yaml Editor和Spring Properties Editor,Open With...但是由于升级到Spring Tools 3.9.2,这两个编辑器丢失了.相反,现在我需要使用纯文本编辑器或类似YEdit YAML编辑器,它不会给我任何与春天相关的好功能.
这与eclipse-spring-tools-missing-content-assist-autocomplete的前半部分相同,但问题的这一部分从未得到解决.
如果我安装了一个Spring Tool Suite 4的新副本(这是一个带有默认安装的相同插件的重新标记的eclipse),那么那些必需的编辑器就存在了,所以这只是使用Spring Tools 3.9.2使用Vanilla Eclipse时的一个问题.
早上好,我有一个头在本周结束时,我正在为springboot + angular + jpa的研究做错.
在做服务管理类时,我根据类JpaRepository的扩展类的教程使用它.
但是我无法解决的项目错误.
关注pom.xml和项目的一些图片,如果有人可以帮助我谢谢你!
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>marco.prova</groupId>
<artifactId>apiweb</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>apiweb</name>
<description>Demo project for Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>2.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Run Code Online (Sandbox Code Playgroud)
在STS中投影图像.
https://uploaddeimagens.com.br/imagens/1-png-6e078f12-f26b-4266-8030-520f0f0fe7d1 …
自从我安装了Spring Tool Suite 4之后,我得到了每个类定义的警告
Can't get the delegate of the gradle IncrementalProcessingEnvironment.
Run Code Online (Sandbox Code Playgroud)
我不使用gradle构建我的项目,而是使用Maven。那么,为什么需要gradle IncrementalProcessingEnvironment?我如何摆脱这些警告?
我正在尝试将 Spring Tool Suite 4 与 Eclipse Oxygen 一起使用,但似乎不存在特定于 Spring Tool Suite 的自动完成/内容辅助功能。出现正常的日食内容辅助,但不会出现任何特定于 STS 的内容。
我关注了 StackOverflow 上的一些其他有用的帖子,并指出确保选择了 Preferences -> Java -> Editor -> Content Assist -> Advanced 中的 Spring 提案种类。但是,在执行此操作时,我发现该部分中没有 Spring 提案类型。我正在使用 STS 4,但由于某种原因,提案种类没有出现在该列表中。
如何解决此问题并使内容辅助/自动完成功能适用于 Spring Tool Suite 4?
注意:我已经尝试了以下 StackOverflow 文章的解决方案,但由于某种原因,它们都没有奏效。他们似乎都假设提案种类出现在它们应该出现的地方。 spring 工具套件中的内容自动完成 4 Eclipse Spring 工具缺少内容辅助/自动完成 Spring 工具套件无法自动显示字段变量名称提示?
这是在我的 IDE 中出现的提案种类的列表 - 请注意,没有出现与 Spring 相关的选项。

我在使用 Spring 工具套件 4 时遇到一个问题,我没有看到“动态 Web 项目”选项。我想创建一个动态 Web 项目,但在我的 Spring 工具套件中没有找到此选项。如何在 Spring 工具套件中安装这些外部工具,但是我得到的 Eclipse 链接很少,即http://download.eclipse.org/releases/mars,我也应该使用这个链接来安装 Spring 工具套件吗?
我正在使用Eclipse STS 3.9.7
Spring版本的开关会创建其他我能够解决的错误,但不是这个错误:pom.xml的第一行标记为“ unkown”错误。
Maven构建(全新安装)运行正常,没有错误,没有警告。
到目前为止我尝试过的是:
当我从2.1.5切换回1.5.21时,错误立即消失。
每当我尝试打开 Eclipse 或 SpringToolSuite 4 时,我都会遇到与权限相关的相同问题前一天工作正常,但现在显示奇怪的东西。
您无权打开应用程序“SpringToolSuite4”。
您无权打开应用程序“Eclipse”。
如果有人有任何解决方案,请分享
eclipse permissions macos permission-denied spring-tool-suite