eclipse eclipse运行配置中的“具有此名称的配置已存在”错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12544725/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:02:09  来源:igfitidea点击:

"A configuration with this name already exists" error in eclipse run configurations

javaeclipse

提问by prosseek

I synced mercurial project, and tried to setup run configurations.

我同步了 mercurial 项目,并尝试设置运行配置。

enter image description here

在此处输入图片说明

I found the name has (1)attached, and I tried to remove it.

我发现该名称已(1)附加,我试图将其删除。

enter image description here

在此处输入图片说明

However, I got A configuration with this name already existserror. I checked other configurations, but there was no duplication of Name Equivalence Checker.

但是,我得到了A configuration with this name already exists错误。我检查了其他配置,但没有重复 Name Equivalence Checker

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

How can I find the existing configuration to remove it?

如何找到现有配置以将其删除?

回答by Hyman jin

uncheck the filter: Filter Deleted/Unavailable Projects

取消选中过滤器:过滤已删除/不可用的项目

debug configurations

调试配置

回答by Bananeweizen

There is a chance you have a launch configuration stored in your workspace as file. Use CtrlShiftRto open the "Open Resource" dialog. Start typing "EquivalenceChecker" and see whether it finds a .launch file with that name in your workspace.

您有可能将启动配置作为文件存储在工作区中。使用CtrlShiftR打开“打开资源”对话框。开始输入“EquivalenceChecker”并查看它是否在您的工作区中找到了具有该名称的 .launch 文件。

回答by user2077401

Uncheck all filters under dropdown for "Filter launch configuration"; it is there. If a project is renamed the launch configuration is updated. But when a project is deleted the launch configuration is not deleted. Appear to be a useful feature.

取消选中“过滤器启动配置”下拉菜单下的所有过滤器;它在那里。如果项目被重命名,则启动配置会更新。但是当一个项目被删除时,启动配置不会被删除。似乎是一个有用的功能。