- 博客(15)
- 收藏
- 关注
原创 【报错】‘xxx‘ not loaded because @ConditionalOnProperty (xxx)did not find property ‘endpoint‘
解决报错:Bean method 'xxx' not loaded because @ConditionalOnProperty (service.client.endpoint) did not find property 'endpoint'
2024-05-06 11:06:57
254
原创 安装WSL时报错:WslRegisterDistribution failed with error: 0x800701bc
解决win11系统中安装linux子系统(wsl)时的报错问题
2024-04-28 15:01:44
1096
2
原创 maven项目install报错:Failure to find cn.cc.cisp:cc-core-base:pom:1.0 in http://ip:8081/nexus/content/gro
maven项目install时出现:Failure to find cn.cc.cisp:cc-core-base:pom:1.0 in http://ip:8081/nexus/content/group...报错的解决方法。
2024-04-26 11:43:58
287
原创 mysql报错:can be executed in a non-transactional context only
解决mysql报错:java.sql.SQLException: When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, the statements CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can be executed in a non-transactional context only, and require that AUTOCOMMIT = 1.
2022-08-29 16:52:03
556
原创 scheduling jobs未起来
项目启动时报错信息:#### 20220512 09:33:35,324 | org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.processFile(XMLSchedulingDataProcessorPlugin.java:324) | ERROR | Error scheduling jobs: Encountered 2 validation exceptions. org.quartz.xml.ValidationExcept
2022-05-12 09:58:43
414
原创 窗口之间传递数据
父窗口通过js打开子窗口:// 打开新增模板弹窗$('#add-btn').on('click', function () { Util.openLayer({ areaSize: ['980px', '661px'], href: 'layer_superviseadd.html' }); });子窗口通过postMessage()方法回传数据:var parentWindow = window.parent;paren
2022-04-26 17:40:16
191
原创 JS生成UUID
1、未引入时间戳//用于生成uuidfunction S4() { return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);}function generateUUID() { return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());}2、引入时间戳function gen
2022-03-11 09:38:14
367
原创 mysql还原备份库报错:The user specified as a definer (‘root‘@‘%‘) does not exist
报错信息:The user specified as a definer ('root'@'%') does not exist解决方法:操作:进入mysql安装的bin目录,shift+鼠标右键:登录mysql:mysql -h localhost -u root -p回车-h:服务器名,localhost表示本地;-u:数据库用户名,root为mysql默认用户名;-p:数据库密码,若设置了密码,则输入密码,若未设置密码,直接回车即可。如下登...
2022-02-16 16:52:31
632
原创 mysql还原备份库报错:MySQL server has gone away
报错信息:[Msg] 2006 - MySQL server has gone away原因分析: 一般原因为sql操作的时间过长,或传送的数据过大。默认配置为4M,考虑备份库存有大附件应该超过了此值,尝试修改配置解决该问题。解决方法: 调整配置为150M(1024*1024*150)mysql> show global variables like 'max_allowed_packet';+----------...
2022-02-16 16:51:50
628
原创 mysql还原备份库函数报错:This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration
报错信息:This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)解决方法:set global log_bin_trust_function_creators
2022-02-16 14:47:09
567
原创 备忘录-开启和关闭druid日志监控
项目当中为了监控慢sql,开启了druid的监控功能:druid的监控类型配置主要如下:实际项目中的开关:epointframe.properties中配置:disableDruidFilter=false,false|开启;ture|关闭如果无此参数,直接添加,框架默认是未配置该参数的,且未配置时该值默认为true。...
2022-01-11 16:33:35
3835
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人