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 trialBramyn Payne
19,589 PointsUsing forEach Challenge
Hello!
I am having trouble with this challenge. When executing prepareSubmission
, everything works properly. I upload the zip file, and it tells me that it encountered an error.
I have tried this multiple times with multiple new zip files. Any help would be appreciated!
Below is my updated method if that helps:
public static void printChipmunksDeclaratively(List<String> chipmunks) {
chipmunks.forEach(chipmunk -> System.out.println(chipmunk + "!"));
}
2 Answers
Jen Dunlap
4,385 PointsI've been running into the same problem. Specifically all the submissions required for the Functional Programming portion of the course. I saw a post from someone in 2018 I think that said it may have to do with incompatibility between the Java Version and Gradle Version but I have yet to find a fix. If you figure out what to do, I'd love to know!
Mike Meany
3,988 PointsSame problem here, I cannot believe this has been an ongoing and prevalent issue since 2018 and no one has addressed or fixed it.