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 Spring Basics Introduction and Setting up Our Development Tools Overview of Gradle to Manage Dependencies

Muhammad Ilham Zahari
Muhammad Ilham Zahari
1,161 Points

giflib sync failed

Hello,

Upon creating a new giflib project, I get a sync error

Could not determine java version from '9.0.1'.

1 Answer

Michael Walker
Michael Walker
45,428 Points

I had the same problem in the beginning with the sync failing. Make sure you go to the website to look at the most recent dependency compile command. The syntax has drastically changed since the time of this writing. For example the current syntax as of today looks like this:

compile group: 'org.springframework', name: 'spring-webmvc', version: '5.0.6.RELEASE'