- 博客(6)
- 收藏
- 关注
原创 idea连接数据库报错:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘
并且:如果有关时间(data,time)查出来的数据与实际不符合 ,可能是因为时区设置不同的问题。解决方法:时区设置为。
2023-03-29 10:07:11
305
原创 IDEA项目启动时报错:Command line is too long. Shorten command line for XXXApplication or also for...
shorten command line这一选项选择JAR mainifest。解决办法:点击Edit Configurations。
2023-03-29 09:51:34
418
原创 Springboot自动配置原理
Springboot自动配置原理springboot简化开发,只需要一个启动类就可以开启我们的代码之旅。在启动类上,我们通常添加一个注解@SpringBootApplication,这个注解就是自动配置的核心。该注解是个组合注解,组合了@EnableAutoConfiguration、@ComponentScan、@SpringBootConfiguration。以下将分别讲述这三个注解的作用。@SpringBootConfiguration:该注解的作用和@Configuration没什么两样,
2021-04-13 23:57:06
172
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅