Hello everyone, problem with IDE. For some reason, the folders began to be located in some strange way, in the sense of the resource folder, it automatically began to try to become the root folder. It all started as soon as I corrected something in the gradle file, but now it has started to spread when opening other projects. The mark as action helps, but with any rebuild everything becomes as before. And still can not find and load the main class, although the method main is clearly worth it and the class is specified in the configuration. I do not understand what's the matter, please help. Gradle
buildscript { ext { springBootVersion = '2.0.2.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' group = 'tech.viacom' version = '0.0.1-SNAPSHOT' sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } } ext { springCloudVersion = 'Finchley.BUILD-SNAPSHOT' } dependencies { compile('org.springframework.cloud:spring-cloud-config-server') compileOnly('org.projectlombok:lombok') testCompile('org.springframework.boot:spring-boot-starter-test') } dependencyManagement { imports { mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" } } Mainclass
@SpringBootApplication public class ConfigserviceApplication { public static void main(String[] args) { SpringApplication.run(ConfigserviceApplication.class, args); } }