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

How do I get the same project structure? Can't manually create it to follow along....

How do I get the same project structure as the video? I'm using the latest IntelliJ and can't follow along. Manually creating it is difficult because creating a Java Class option isn't available..... If I try to "downgrade" and use an older IntelliJ, it doesn't work, because it can't find my JDK, which is fine if I use the latest instead...I was really excited about this track but it's really confusing and frustrating to hit a road block this early on.

1 Answer

Ben Deitch
STAFF
Ben Deitch
Treehouse Teacher

Hi Eric!

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!

Ben