@SpringBootApplication
public class DoutoresApplication {
public static void main(String[] args) {
SpringApplication.run(DoutoresApplication.class, args);
}
}
A IDE informa que não foi possivel encontrar a classe e que existe um erro no JAR
Description
Resource
Path
Location
Type
Archive for required library: ‘/Users/CristofeRocha/.m2/repository/org/javassist/javassist/3.23.2-GA/javassist-3.23.2-GA.jar’ in project ‘Doutores’ cannot be read or is not a valid ZIP file
Doutores
Build path
Build Path Problem
Alguém poderia me ajudar. Removi o arquivo e ao iniciar a IDE ele cria novamente, porém com o mesmo erro.
E deu certo pq o Maven baixou. Meu problema agora é outro.
APPLICATION FAILED TO START
Description:
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Já imaginou, estou usando o H2
com.h2database
h2
runtime
e não sei pq esta dando esse erro, pedindo a URL ? será que tem que colocar no pro