欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

Cannot start compilation:the output path is not specifired for module “xxx“.Specify the output path

发布时间:2023/12/31 编程问答 47 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Cannot start compilation:the output path is not specifired for module “xxx“.Specify the output path 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

Cannot start compilation:the output path is not specifired for module "xxx".Specify the output path in the Project Structure dialog.

截图如下:

这段话的意思是:

当前工程的文件夹结构错误.

比如,我当时的错误就是,Resources Root 文件夹下面各有个Java和Scala文件夹,

然后这俩个文件夹各自有一个pom.xml

这样intellij就混乱了.

所以intellij要确保打开的是一个项目,而不是多个项目.

多个项目的意思是,当前工程下面有多个pom.xml或者处于pom.xml的上一级目录,这种情况下就会报告上面这种错误.

 

还有一种可能是需要设置下面的Project compiler output

 

总结

以上是生活随笔为你收集整理的Cannot start compilation:the output path is not specifired for module “xxx“.Specify the output path的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。