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).
Disconnected from the target VM, address: '127.0.0.1:64380', transport: 'socket'
Process finished with exit code 1
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
换成这个就行了
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
application类里这样写
貌似没有加入数据库的配置