Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个新的运行配置config_1,直到昨天它都运行良好。
config_1
今天,当我在运行配置-> 类路径-> 用户条目中将项目名称更改为project_2旧项目名称时,似乎已关闭,我错误地删除了它。 project_1
project_2
project_1
class not found现在由于异常,我无法运行该程序。如果我什至通过单击高级-> 添加项目来添加项目,则程序运行不正确。
class not found
如何运行程序或如何添加项目?
或者,如果我什至撤消通过local history实际撤消运行配置中所做的更改所做的更改?
local history
一旦你删除了Run Configurations,就没有办法恢复它了。
Run Configurations
要回答您的问题,为什么Run Configurationsforproject_2不起作用?
原因可能是您未能指定正确的项目名称。
在以下屏幕截图中,项目名称为Test. 您需要确保 Configurations (project_2) 中的项目名称与实际项目名称匹配。
Test
为了更安全,您可以使用“通用”选项卡和“另存为”部分将启动配置导出到文件系统。然后您可以将配置提交到存储库。