年底奉献spring boot 2.3.2+jeesite版本,方便微小企业开发应用(使用artemis和redis4)

首先,感谢https://gitee.com/kedou/springboot2-jeesite改项目,该项目基于spring 2.0.4但是在spring boot 2.3最新版有问题。所以在此进行修改,并奉献给大家

1.下载windows redis

https://github.com/tporadowski/redis/releases/tag/v5.0.9

启动方法>redis-server redis.windows.conf

2.将activemq替换成artemis,artemis的好处

High-performance, non-blocking architecture for the next generation of event-driven messaging applications.

  • JMS 1.1 & 2.0 with full client implementation including JNDI
  • High availability using shared storage or network replication
  • Simple & powerful protocol agnostic addressing model
  • Flexible clustering for distributing load
  • Advanced journal implementations for low-latency persistence as well as JDBC
  • High feature parity with ActiveMQ 5 to ease migration

artemis下载省略,安装如下:


You can now start the broker by executing:

   "D:\Java\apache\apache-artemis-2.16.0\bin\artemisbroker\bin\artemis" run

Or you can setup the broker as Windows service and run it in the background:

   "D:\Java\apache\apache-artemis-2.16.0\bin\artemisbroker\bin\artemis-service.exe" install
   "D:\Java\apache\apache-artemis-2.16.0\bin\artemisbroker\bin\artemis-service.exe" start

   To stop the windows service:
      "D:\Java\apache\apache-artemis-2.16.0\bin\artemisbroker\bin\artemis-service.exe" stop

   To uninstall the windows service
      "D:\Java\apache\apache-artemis-2.16.0\bin\artemisbroker\bin\artemis-service.exe" uninstall

运行如下(注意的下载和安装路径):

>"D:\Java\apache\apache-artemis-2.16.0\bin\artemisbroker\bin\artemis" run

3.升级shiro

4.yaml文件添加

spring:(注意已有spring标签头,不要重复拷贝
  main:
    allow-bean-definition-overriding: true

在当前目录运行

>artemis.cmd create artmisbroker --user mq --password 123

console会得到一系列信息

5.最后下载地址为:https://gitee.com/astra_zhao/springboot2-jeesite

猜你喜欢

转载自blog.csdn.net/penker_zhao/article/details/111888532