Error starting ApplicationContext. To display the auto-configuration report re-run your application

Application 分为两种文件方式,一种是 yml,一种是 properties

  • 如果是 yml,在 application.yml 中加入debug: true,因为默认的话是false。
  • 如果是 properties, 在 application.properties 中加入 debug = true.

你可能感兴趣的:(java)