- 博客(7)
- 资源 (9)
- 收藏
- 关注
原创 配置centos下nginx ssl证书自动续期(certbot申请泛域名证书Let‘s Encrypt免费证书)
输入:certbot certonly --preferred-challenges dns --manual -d *.baidu.com --server https://acme- v02.api.letsencrypt.org/directory --register-unsafely-without-email。#可以用dig -t txt _acme-challenge.xx.cn验证解析是否生效, -------如无dig命令需要用yum install bind-utils。
2024-10-22 17:34:59
1334
原创 springboot内使用反射调用方法,方法内使用@Autowrite或@Resource等方式注入的对象实例报空指针问题解决
问题原因:因为使用反射方式执行方法时,该对象没有被Spring管理到,所以无法获取到spring内的对象。问题解决:使用ApplicationContext从Spring容器内进行获取对象。工具类:@Componentpublic class SpringContextUtils implements ApplicationContextAware { private static ApplicationContext applicationContext; @Overr
2022-04-20 16:17:04
1368
2
原创 记一次IDEA报错:找不到或无法加载主类
记一次IDEA报错:找不到或无法加载主类可能是导入的项目带的.idea文件冲突造成的,解决方法:删除.idea文件,重新导入项目生成即可
2021-08-09 10:09:07
185
原创 实用网站汇总,超良心总结
1.查看破解你的密码要多长时间:https://howsecureismypassword.net2.AI 图片无损放大:www.bigjpg.com3.图片压缩系列强烈推荐:https://zh.recompressor.com这个网站和其他图片压缩网站不同的是:它会生成 10 个左右的最终成品,然后给你推荐一个最好的压缩结果(图片质量和文件大小的平衡点),其他网站就是只给你一个压缩到极限的图片,没得选。4.Word联盟传送门:http://www.wordlm.c
2021-03-11 15:21:44
166
原创 查询springcloud和springboot对应方法
访问地址:https://start.spring.io/actuator/info{ "git": { "branch": "5799d9c333173468f1513fe97e02d09409a76e31", "commit": { "id": "5799d9c", "time": "2021-03-08T15:13:56Z" } }, "build": { "ve...
2021-03-09 17:52:05
132
原创 记一次click事件失效问题
1.动态数据使用click事件会失效,可以使用以下方式来解决:$(document).on('click','点击的元素名',function(){});如$(document).on('click','button',function(){});
2019-06-12 01:25:39
674
1
ST 4905.zip
2019-07-21
json用到的jar
2018-07-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人