bug
Zany555
这个作者很懒,什么都没留下…
展开
-
阿里云服务器防火墙的问题
问题今天在安装redis的gcc依赖的时候报错了,以为是没有关闭防火墙,就把防火墙关闭了,后台发现打不开了,报错firewalld.service is not active, cannot reload.应该是因为服务被锁定了。解决# 查看firewall防火墙状态firewall-cmd --state# 取消服务锁定systemctl reload firewalld# 打开防火墙systemctl start firewalld# 锁定服务systemctl mask fir原创 2022-03-03 14:05:35 · 2332 阅读 · 1 评论 -
IDEA中spring boot项目目录结构发生错乱注释无效
刷新pom.xml文件原创 2022-02-18 08:46:13 · 621 阅读 · 0 评论 -
spring boot+mybatisplus集成后访问项目接口404
在启动类中@ComponentScan注解是扫描组件的,需要改成@MapperScan原创 2022-02-17 16:27:22 · 550 阅读 · 0 评论 -
新建springboot项目时,启动项目报错APPLICATION FAILED TO START
错误APPLICATION FAILED TO STARTDescription:Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classAction:Consider the following:If you want转载 2022-01-10 17:37:31 · 873 阅读 · 0 评论 -
java.sql.SQLException: 无效的列类型: 1111
查阅了很多朋友的这个问题,我发现是同事在写mybatis的sql时用where if的时候把null也加上了引号,我哭晕了。引号去掉就好了。原创 2021-12-14 15:38:56 · 444 阅读 · 0 评论