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

David Nartey
David Nartey
2,748 Points

Hi, I'm getting an synch failed error message Cause: invalid code type code: OB

buildscript{ repositories { mavenCentral() } dependencies{

    classpath  'org.springframework.boot:spring-boot-gradle-plugin:1.2.6.RELEASE' 


apply plugin: 'java' apply plugin: 'spring-boot'

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

sourceCompatibility = 1.8

repositories { mavenCentral() }

dependencies { testCompile 'org.springframework.boot:spring-boot-starter-web:1.2.6.RELEASE'


// I got an error message ---> Cause: invalid type code: OB //Any help will be greatly appreciated