To display the conditions report re-run your application with ‘debug‘ enabled.

一、解决

言而总之一句话:SpringBoot也不知道咋回事,但是建议你把debug日志打开,看看到底哪里错了。

在application.yml中配置:

debug: true

二、多说两句

SpringBoot项目启动报:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

这句话是 ConditionEvaluationReportLoggingListener类抛出的:

	private void logMessage(String logLevel) {
		this.logger.info(String.format("%n%nError starting ApplicationContext. To display the "
				+ "conditions report re-run your application with '" + logLevel + "' enabled."));
	}

 也就是说 SpringBoot也不知道咋回事,但是建议你把debug级别的日志打开,看看到底哪里错了。所以这条日志是个提示性的信息吧。

(这篇文章也没啥营养,主要是我在网上看别人讲这个报错,他们...就很迷...哎......

你可能感兴趣的:(spring,boot)