无法自动生成表
最开始报Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
Cannot determine embedded database driver class for database type NONE(检查数据库驱动,和数据库连接配置)
通过添加EnableAutoConfiguration
@SpringBootApplication @EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class}) public class GirlApplication { public static void main(String[] args) { SpringApplication.run(GirlApplication.class, args); } }
可以正常运行解决了问题,然后按照教程来,启动项目,没有报错但是无法自动生成表格,是不是由于我上面配置的原因,如果是的话请问怎么解决