Cannot start compilation: the output path is not specified for module Specify the output path in the Project Structure dialog. Follow
I have a simple project. It's not based on gradle or maven. My root folder is the name of my project and in it, it has multiple folders. Each folder is name after an assignment. Each assignment has its own main method in Java. When I created my first assignment, the main method was executing perfectly but now that I added a second assignment with its own main method, intellij idea has no idea what to do. I deleted the .idea and .iml, restarted intellij as others users suggested but that made things worse. I had to reimport the module to recreate the .iml files. I'm now back to first error message:
Cannot start compilation: the output path is not specified for module "Assignment2-UserLoginValidation".
Specify the output path in the Project Structure dialog.
Please sign in to leave a comment.
Please make sure you've set "Project Compiler output" (https://i.imgur.com/7AUQJ6w.png) for the project in question and "Compiler output" for module (https://i.imgur.com/7uBtjVd.png) in Project settings.
Share the sample project (with the `.idea` directory included) in case it does not help.
Same problem. Ruby on Rails project. This image (https://i.imgur.com/7uBtjVd.png)) does not exist under a Rails project. Frustrated.
I need EXPLICIT instructions on how to setup remote debugging for a Ruby on Rails project with Intellij ultimate.
Alfonso Rush, you can set the 'Project Compiler output' on File - Project Structure - Project Settings - Project.
Setting `Project Compiler output` does'n solve the problem for RoR project. IDEA complaints `The output path is not specified for module <project_name>`
Jimboman54321 we have a similar issue on our tracker, could you please check the workaround from the following comment: https://youtrack.jetbrains.com/issue/RUBY-28114#focus=Comments-27-4868840.0-0
Thanks, provided solution in comment works.
Konstantin Annikov this worked for me, thanks!!!