springboot项目创建常见问题(建议收藏!!)

springboot项目创建常见问题(持续更新!) https://blog.csdn.net/libusi001/article/details/97267365
Spring Initializr 报错:Initialization failed for 'https://start.spring.io'
https://blog.csdn.net/libusi001/article/details/102701674
springboot配置文件com.mysql.jdbc.Driver报红
https://blog.csdn.net/libusi001/article/details/102701740
Cannot load JDBC driver class 'com.mysql.jdbc.driver'
https://blog.csdn.net/libusi001/article/details/102701847
cannot resolve method 'run(java.lang.class)
https://blog.csdn.net/libusi001/article/details/102701892
Failed to bind properties under 'mybatis.configuration
https://blog.csdn.net/libusi001/article/details/102688060
Information:Internal caches are corrupted or have outdated format, forcing project rebuild
https://blog.csdn.net/libusi001/article/details/102797539
idea项目启动图标为灰色
https://blog.csdn.net/libusi001/article/details/102798899
idea 一直scanning files to index四种解决方法
https://blog.csdn.net/libusi001/article/details/102800605

Caused by: java.lang.ClassNotFoundException: Cannot find class: org.mybatis.caches.ehcache.LoggingEh

https://libusi.blog.csdn.net/article/details/108128724

Consider defining a bean of type ‘com....mapper.SysUserMapper‘ in your configuration.

https://libusi.blog.csdn.net/article/details/108129036

is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-

https://blog.csdn.net/libusi001/article/details/98670196

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

项目结构Mark Directory As

springboot项目创建常见问题(建议收藏!!)_第1张图片

配置错误页面

  1. SpringBoot自定义错误页面,SpringBoot 404、500错误提示页面
  2. SpringBoot 4xx.html、5xx.html错误提示页面

在使用ThymeLeaf模板时,springBoot会自动到src/main/resources/templates/error/文件夹下寻找404.htm、500.html的错误提示页面。

错误提示页面的命名规则就是:错误码.html,如404是404.html,500是500.html

springboot项目创建常见问题(建议收藏!!)_第2张图片

参考博客:https://fanshuyao.iteye.com/blog/2414828

你可能感兴趣的:(#,Spring-Boot,springboot,driver,Initializr)