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 Spring Components and Configuring Our App Configuring Gradle for Spring Development

Page Petty
Page Petty
2,928 Points

Teacher's notes syntax needs an update to:

plugins { id 'java' id 'idea' id 'eclipse' id 'org.springframework.boot' version '2.1.6.RELEASE' }

group 'com.pagepetty' version '1.0-SNAPSHOT'

sourceCompatibility = 1.8

repositories { mavenCentral() }

dependencies { compile 'org.springframework.boot:spring-boot-starter-web:2.1.6.RELEASE'

}

Page Petty
Page Petty
2,928 Points

It doesn't work for me if you don't add the RELEASE to the dependency as well as the plugin.

Adding the version the to dependencies key, worked perfectly for me, thanks!

Thank you, this solved the autocompletion once moving into the AppConfig.java step. @teamtreehouse, the configuration tutorials should be updated at the least!

1 Answer

How did you guys solve it. Can I see a screenshot of your code?