05 2021 档案
在Springboot中使用Drools,简单使用
摘要:目录结构 步骤一:添加依赖 <dependency> <groupId>org.drools</groupId> <artifactId>drools-core</artifactId> <version>7.0.0.Final</version> </dependency> <dependency
Springboot中Drools的配置类
摘要:package com.example.testdrools.config; import org.kie.api.KieBase; import org.kie.api.KieServices; import org.kie.api.builder.*; import org.kie.api.ru
Springboot配合easy-rules简单使用:案例1--购物
摘要:实现规则 1、 一个人去买酒 2、 如果年龄大于18岁,则是成年人;小于18岁是未成年人 3、 如果未成年人去买酒,拒绝 步骤一: 导入依赖 <dependency> <groupId>org.jeasy</groupId> <artifactId>easy-rules-core</artifact
RabbitMq:SimpleMessageListenerContainer和ChannelAwareMessageListener的配合使用
摘要:思路: 1、 在配置类中通过 SimpleMessageListenerContainer 配置监听消息队列的各种参数 2、 自定义一个类实现 ChannelAwareMessageListener 接口 配置类 package com.example.testgetmq.config; impor
Plugin 'org.apache.maven.plugins:maven-compiler-plugin:' not found
摘要:** 原因:本地缓存不存在该插件的版本 ** 检查路径: C:\Users\ASUS.m2\repository\org\apache\maven\plugins\maven-compiler-plugin ** 如果有,就重启项目。没有对应的话,就把本地缓存的版本输入进去
在Ubuntu/Linux环境下使用MySQL:启动和关闭MySQL服务
摘要:启动MySQL服务 service mysql start 查看MySQL状态 service mysql status 关闭MySQL服务 service mysql stop
云服务器端口号的几个操作
摘要:查看某个端口号是否打开 netstat -ntpl | grep 端口号 查看某个端口号是否被使用 lsof -i:端口号 查看mysql是否在运行 ps aux|grep mysql