Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Intro to Java Web Development with Spark Diving into Web Development Meet Spark

Dennis Fink
Dennis Fink
12,060 Points

How do I get the same directory structure?

I have a newer version of IntelliJ and when I create the project there is no option "Create directories for empty content roots automatically". What can I do to follow along?

Same problem

2 Answers

I'm having the same issue as well...probably because of using a newer version of IntelliJ

Be nice if they would update this outdated track..

Ben Deitch
Ben Deitch
Treehouse Teacher

Hey Dennis!

Looks like they moved that setting on us. You'll need to go into Gradle settings and set it there:

  • Use CTRL+SHIFT+A to bring up the Action Search menu and type 'gradle'.
  • Choose the option that says 'Gradle' on the left and 'Settings' on the right.
  • Check the box for 'Create directories for empty content roots automatically' and hit OK.

Hope that helps!


Thanks Ben!