Loading

摘要: ## 具体异常: ``` log Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method(reply-code=406, reply-text=PRECONDITI 阅读全文
posted @ 2023-07-26 10:22 colfish 阅读(623) 评论(0) 推荐(0)
摘要: 之前遇到过的@CacheEvict注解和@Transactional注解内部调用不生效,也是同样的原因 自定义注解 @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documen 阅读全文
posted @ 2023-07-24 17:42 colfish 阅读(863) 评论(0) 推荐(0)
摘要: ### Description ``` log startup failed: /xxxx/OrderFixFile.groovy: 5: Invalid duplicate class definition of class OrderFixFile : The source /xxxx/Orde 阅读全文
posted @ 2023-07-18 17:19 colfish 阅读(250) 评论(0) 推荐(0)
摘要: String url = "https://baidu.com/天下无敌-喜羊羊.jpg?code=测试"; System.out.println(URI.create(url).toASCIIString()); 结果: https://baidu.com/%E5%A4%A9%E4%B8%8B%E 阅读全文
posted @ 2021-12-01 18:01 colfish 阅读(212) 评论(0) 推荐(0)
摘要: 创建视图 跨数据库创建视图 CREATE VIEW <视图名> AS <SELECT语句> CREATE VIEW `student_view` AS ( SELECT a.`id` AS `id`, a.create_time AS create_time, a.modify_time AS mo 阅读全文
posted @ 2021-11-29 17:52 colfish 阅读(64) 评论(0) 推荐(0)
摘要: 使用MarkupBuilder创建xml报文的builder,参数为Writer对象 @Test void test1() { def writer = new StringWriter() def builder = new MarkupBuilder(writer) builder.mkp.xm 阅读全文
posted @ 2021-11-21 23:13 colfish 阅读(210) 评论(0) 推荐(0)
摘要: 参考链接-机器之心 人机博弈是人工智能的重要分支,人们在这一领域探索的过程中产生了大量的研究成果,而极小化极大算法(minimax)是其中最基础的算法,它由Shannon在1950年正式提出。Alpha-beta剪枝的本质就是一种基于极小化极大算法的改进方法。 在人机博弈中,双方回合制地进行走棋,己 阅读全文
posted @ 2021-10-23 12:23 colfish 阅读(1288) 评论(0) 推荐(0)
摘要: 在响应式 Web 设计中,UI 布局必须适配不同尺寸的设备。CSS3 引入了 Flexible Box,简称 flexbox(弹性盒子),它特别适合用来创建弹性的页面布局。弹性布局以一种可预见的方式排列元素,使其适用于不同尺寸的设备。 阅读全文
posted @ 2021-08-09 15:46 colfish 阅读(201) 评论(0) 推荐(0)