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

src folder is missing in IntelliJ IDEA

I am created a new Gradle project following the steps in the video "Meet Spark" but the src folder doesn't exist...

2 Answers

James D
James D
12,085 Points

Dear Gonzalo,

You can create a new source directory by right-clicking on your current project's folder name and selecting the Directory option, then typing src Or else simply update your intellij idea to the latest version (I am using 2016.2.3) where the src folder along with main and test folders will come defined as part of your project structure.

I solved the problem thanks.

How? Can you help me