目录
idea Auto import
errorCode 0, state 08001
Autowired用法详解
mysql时区问题 serverTimezone=Asia/Shanghai
idea Auto import
Add unambiguous imports on the fly:快速添加明确的导入。
Optimize imports on the fly:快速优化导入,优化的意思即自动帮助删除无用的导入。
errorCode 0, state 08001
2021-07-03 10:58:38.296 ERROR 3748 --- [reate-869665662] com.alibaba.druid.pool.DruidDataSource : create connection error, url: jdbc:masql:127.0.0.1:3306/miaosha, errorCode 0, state 08001
Autowired用法详解-
@Autowired 注释,它可以对类成员变量、方法及构造函数进行标注,完成自动装配的工作。 通过 @Autowired的使用来消除 set ,get方法。在使用@Autowired之前,我们对一个bean配置起属性时,是这用用的
- Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project demo: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone
connectionURL="jdbc:mysql://127.0.0.1:3306/miaosha?serverTimezone=Asia/Shanghai"