同一模块之间共享输出路径错误 [英] Output path is shared between the same module error
问题描述
当我尝试在项目中编译任何类时,出现以下错误:
When I try to compile any class in my project I get the error below:
Error scala: Output path .../eval/target/test-classes is shared between: Module 'eval' tests, Module 'eval' tests
Output path .../eval/target/classes is shared between: Module 'eval' production, Module 'eval' production
Please configure separate output paths to proceed with the compilation.
我已经看到了如何在IDEA中设置输出路径,并且已经完成了.但是由于该错误声称它是在同一模块之间共享的,所以我无法解决它.
I've seen how to set the output path in IDEA and I've done it. But as the error claims that it is shared between the same module I couldn't solve it.
不好.:使用Maven和IntelliJ IDEA.
Obs.: Using Maven and IntelliJ IDEA.
请,有人可以帮忙吗?
推荐答案
问题已解决!
我已多次重置前进和后退git存储库,并在某些操作后关闭重新打开的想法.当IDEA最终启动时,它在右上角显示一条红色消息.上面写着这样的内容:该项目已经有一个eval模块,如果我想删除eval模块.是的,这非常令人困惑,但是我单击了删除,问题就消失了.我猜出于某种原因,我使用了2个eval模块,并且删除了其中的一个,解决了输出路径错误.
I have reset backward and forward my git repository many times and close-reopen idea after some of it. When finaly IDEA shows a red message at the right top while it was starting. It says something like: the project has already a eval module, and if I want to delete eval module. Yes, it was quite confusing, but I click on delete and my problem disappear. I guess that for some reason I become with 2 eval modules and it delete one of it solving output path error.
这篇关于同一模块之间共享输出路径错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!