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

Source Sets Error

Hi all,

I'm getting error (squiggly red line) in course-ideas under "Gradle projects". I don't know what I'm missing other than following the video instruction. This what I have:

dependencies { compile 'com.sparkjava:spark-core:2.6' testCompile group: 'junit', name: 'junit', version: '4.12' }

Thanks in advance

Martin Gallauner
Martin Gallauner
10,808 Points

I have the same problem now, did you found some solution?

1 Answer

Rafael Reis
Rafael Reis
14,931 Points

It might be the version that you trying to use it, try this out:

compile "com.sparkjava:spark-core:2.7.1".

-Rafael

Jose Mejia
Jose Mejia
16,758 Points

I got the same problem