spring boot 启动报错To display the auto-configuration reportre-run your application with 'debug' enabled

当启动spring boot项目的时候,显示错误 Error starting ApplicationContextTo display the auto-configuration reportre-run your application with 'debug' enabled。我出现这种情况的时候,在网上也找了很多方法没解决,最后发现是jar包的下载出来问题。新建一个maven本地仓库文件夹,在settings.xml文件里面把本地仓库的换成新建文件夹的地址。然后更新spring boot项目,启动spring boot项目试试。反正我的问题是用这种方法解决的,希望对你有所帮助。

猜你喜欢

转载自blog.csdn.net/qq_41973729/article/details/81478613