- 博客(16)
- 资源 (5)
- 收藏
- 关注
原创 springboot项目 yml文件 不显示绿色
用Idea搭建新的springboot项目 配置文件使用的是bootstrap.yml ,但是bootstrap.yml一直不显示绿色,启动项目无法读取相应配置。
2025-10-11 08:57:15
405
原创 nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed
排查了磁盘空间/数据库连接数量,反复看了代码 确定代码没有错误,最后查看了进程,相同的应用存在两个进程 kill掉重启就好了。
2025-10-11 08:53:21
414
原创 fastdfs服务Tracker常见故障
先备份storage_sync_timestamp.dat,然后将storage_sync_timestamp.dat删掉,重启tracker服务。修改data里面的 storage_sync_timestamp.dat,把group3的信息删掉,然后重启tracker。但是并未生效,还是会出现如上错误。
2024-05-21 18:27:54
762
原创 No qualifying bean of type ‘org.springframework.boot.autoconfigure.http.HttpMessageConverters‘
gateway报错
2022-06-23 17:25:45
735
1
原创 2021-09-02
pageOffice,在linux系统保存时失败首先解决路径问题:在linux环境下,路径为:file:///mnt/doc/work.doc如果文件绝对路径作为入参:/mnt/doc/work.doc需要通过URLEncoder.encode(filePath, “utf-8”)转换下对应的路径,遇到的问题是FileSaver fs = new FileSaver(request, response);,构造FileSaver,直接报错,报错信息是:`2021-09-02 15:02:35.549
2021-09-02 23:08:32
1477
原创 2021-06-14
Java Gamil 邮件发送记录谷歌邮件发送失败详情报错信息如下:Couldn't connect to host, port: smtp.gmail.com, 465; timeout -1 解决方案:一、通过查看gmail邮箱帮助:https://support.google.com/accounts/answer/6010255?authuser=1,需要开启“允许不够安全的应用”二、是否设置配置项:properties.put("mail.smtp.host", "smtp.gma
2021-06-14 08:52:33
891
Java自学教程
2015-06-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅