• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

import gradle project in intellij - compilation issues - symbols not recognized

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


in my gradle project, the import are not recognized therefore the project is not compiling in my intellij
while in command line, the project seems ok by running

How can I clean the project in intellij, like what is done in maven :



my build.gradle contains :

buildscript {
repositories {
mavenLocal()
mavenCentral()
}

dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootStarterVersion}")

}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
jar {
baseName = 'candidate-persistence'
}

repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
}


dependencies {
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.3'
compile group: 'org.projectlombok', name: 'lombok', version: '1.16.2'

compile group:'org.springframework.boot', name:'spring-boot-starter-data-jpa', version:"$springBootStarterVersion"
compile group:'com.h2database', name:'h2', version: '1.4.187'

testCompile "org.springframework.boot:spring-boot-starter-test:$springBootStarterVersion"

}
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic