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

Ricardo Rodriguez
Ricardo Rodriguez
7,663 Points

IntelliJ is not creating the 'src/main/java' folder for me to create the Main class

Hello, I understand that it might be hard to catch up with third-party updates (IntelliJ maybe?) but there's no way to follow up the course if things don't work as shown during video.

I do: File -> New Project -> Gradle -> Java -> next, next, next (filling the blanks as shown during the lesson) and after the whole wizard for creating the new project is completed the "src" folder does not get created therefore I can not continue with the lesson.

Just to be very specific on what my experience is I have recorded here on this video what I have in front of me on my screen hopping instructor or teamtreehouse can help.

Very disappointed of course that after scheduling a block of my agenda to work on this I can not continue until someone here can get back to me on this one but here's my recorded for you to better understand what is happening to me:

https://www.screencast.com/t/Fyqpr6L7c

Thank you.

3 Answers

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Hi Ricardo!

Try this StackOverflow solution

No idea why JetBrains would take that away at a per project level and not default that value. Thanks for understanding the complexity of using software that changes.

We'll get a solution in there! Thanks for the screencast it really helped!

Let me know if this does the trick!

Ricardo Rodriguez
Ricardo Rodriguez
7,663 Points

Thank you Craig, I just tried that and still can not see that folder. Obviously, I can not follow those directions until the project is created and once created is not showing that folder.

Another thing that I learned during this process is that if I do not choose to use LOCAL GRADLE DISTRIBUTION the latest IntelliJ with Java 10 says that can not find installed version (or something like that) so I had to download latest version of gradle and need to tell intelliJ the path to it so this is what I have in front of my now (see image) and still can not find the "/src" folder...

I DID NOT FIND A WAY TO UPLOAD IMAGE FILE HERE SO I UPLOADED IT HERE https://www.screencast.com/t/nOLrZstABm

Ricardo Rodriguez
Ricardo Rodriguez
7,663 Points

Actually.... it worked... after following ALL instructions from stack overflow including manually creating a module called "main" so we are good until there. Will follow up and report back in case of having issues...