1
resposta

Erro ao carregar programa

Fiz o download do projeto e importei para o eclipse, porém ao executar é gerado um erro:

2020-11-17 17:28:43.287  INFO 72412 --- [  restartedMain] o.s.boot.SpringApplication               : Starting SpringApplication v2.3.5.RELEASE on DESKTOP-KLM7L2B with PID 72412 (C:\Users\Eduardo\.m2\repository\org\springframework\boot\spring-boot\2.3.5.RELEASE\spring-boot-2.3.5.RELEASE.jar started by Eduardo in C:\Users\Eduardo\eclipse-workspace\mudi)
2020-11-17 17:28:43.304  INFO 72412 --- [  restartedMain] o.s.boot.SpringApplication               : No active profile set, falling back to default profiles: default
2020-11-17 17:28:43.486 ERROR 72412 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

java.lang.IllegalArgumentException: Sources must not be empty
    at org.springframework.util.Assert.notEmpty(Assert.java:470) ~[spring-core-5.2.10.RELEASE.jar:5.2.10.RELEASE]
    at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:391) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
    at org.springframework.boot.SpringApplication.main(SpringApplication.java:1253) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[na:na]
    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.3.5.RELEASE.jar:2.3.5.RELEASE]
1 resposta

Oi Eduardo

Tenta executar o método main do projeto ao invés de tentar rodar o projeto em si no eclipse