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 trialPhil Spelman
6,664 PointsLocal Code Challenge - Cannot complete | Java 9 | IntelliJ | Gradle error | Walk-through video not working
I am attempting to complete the Local Code Challenge in the Java's Functional Toolset lesson. The video walk-through only appears as a picture so I cannot watch it :(
Re: the challenge: I have downloaded the files for the challenge, imported to IntelliJ, and edited the code to perform the desired behavior (a declarative version of the imperative example). The code works correctly when I run it.
The Gradle import does not work: Error:BUG! exception in phase 'class generation' in source unit 'BuildScript' unsupported Target MODULE
I tried to start a new Gradle project and this same error occurred, so I looked for info on the Google. Apparently other people are having this issue with Java 9 (see link below). I will try again after installing Java 8 but I'm going to skip the question for now so I can continue with the lesson. https://youtrack.jetbrains.com/issue/IDEA-171520