I
I
Insolation2018-05-09 12:00:12
Java
Insolation, 2018-05-09 12:00:12

Why doesn't the Java code run?

Hey guys.
I have a finished project - not written by me, but I need to redo it a bit.
I've never dealt with Java before. I downloaded Java, JDK, JDE and everything))
IDE - Eclipse
I imported this project there and try to save it, but it gives such an error
5af2b88296651228948541.png
Despite the fact that main is and is described

package edu.lp.ippt.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DemoApplication {

  public static void main(String[] args) {
    SpringApplication.run(DemoApplication.class, args);
  }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yerlan Ibraev, 2018-05-10
@mad_nazgul

The project is made using the Gradle build system.
You need to install and configure gradle.
And at the beginning try to collect them.
Only then try to import into Eclipse.
IMHO, Eclipse is not the most convenient IDE to start with, it makes sense to look towards NetBeans

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question