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 Introduction to Functional Programming Meet Streams Setting Up the Project

Andre Kucharzyk
Andre Kucharzyk
4,479 Points

Problem with ?Gradle? after importing project from Git.

After I imported project folowing Craig Dennis instructions I cannot run App.main(). After import, instead of App.class, Job.class and ResultsPage.class there is App.java, Job.java and ResultsPage.java in scr folder. It seems like project is not ?recognised? as Gradle project because tags in build.gradle file are greyed out. Please look at the screenshot below:

https://ibb.co/thCMZqd

1 Answer

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

.java is the right file extension. You can see the files in the git repo here with those extensions. But normally IntelliJ hides file extensions from you.

There should have been little prompts in IntelliJ to "Import Gradle Project" and "Setup SDK", did you have any issues with those steps?