为了账号安全,请及时绑定邮箱和手机立即绑定

启动报错 贴下错误信息


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


正在回答

3 回答

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)

换成这个就行了   

0 回复 有任何疑惑可以回复我~
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})

application类里这样写

0 回复 有任何疑惑可以回复我~

貌似没有加入数据库的配置

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

启动报错 贴下错误信息

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号