Error starting ApplicationContext. To display the conditions report re-run your application...enable

运行 SPring Boot 出现Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
Error starting ApplicationContext. To display the conditions report re-run your application...enable
解决方法:
1.jar 包冲突
在开发过程中,经常会遇到导入jar包后jar包冲突的情况,大家也都知道,解决jar包冲突通常都比较麻烦,要找到多余的依赖,把低版本的依赖去掉。
Error starting ApplicationContext. To display the conditions report re-run your application...enable
Error starting ApplicationContext. To display the conditions report re-run your application...enable
此时需要安装IDEA下的一款插件:Maven Helper
打开file-setting-plugins,然后在插件商店搜索Maven Helper
Error starting ApplicationContext. To display the conditions report re-run your application...enable
安装完毕后重启idea,选择yes重启,重启后打开你的pom.xml文件
Error starting ApplicationContext. To display the conditions report re-run your application...enable
加入依赖后重新打开POM文件排除冲突:
Error starting ApplicationContext. To display the conditions report re-run your application...enable
在视图中分析与排除:针对红色的部分,右键选择exclude就可以了
Error starting ApplicationContext. To display the conditions report re-run your application...enable
这个有延迟,排除冲突完请刷新一下,刷新也不管用的情况下,请重新打开这个pom文件

2.请看代码
Error starting ApplicationContext. To display the conditions report re-run your application...enable

修改@RequestMapping的value值
Error starting ApplicationContext. To display the conditions report re-run your application...enable