turingF
turingF

Reputation: 51

Output directory is not specified in idea project

It has a problem in idea:

Error:(3, 8) java: 写入edu.nuaa.vo.User时出错: Output directory is not specified

What does it mean?

My compiler Out path is:

enter image description here

Upvotes: 4

Views: 11407

Answers (2)

user1689987
user1689987

Reputation: 1566

For Java projects on IntelliJ on Mac, go to File -> Project Structure -> Project and choose the target folder of your Java project and Apply Output directory

Upvotes: 2

Alexander
Alexander

Reputation: 473

Had a similar problem. What helped me is creating the folder in your project (on the same level with the 'src' folder) named 'out' and it started working. Initially it was missing for some reason.

project structure

Upvotes: 8

Related Questions