ehcache-root与ehcache-root版本对于关系
时间: 2024-01-01 07:03:54 浏览: 29
`ehcache-root` 是 Ehcache 的 Maven 父项目,它定义了 Ehcache 的版本、依赖项和插件等信息。而 `ehcache-root` 的版本与 Ehcache 版本是对应的,比如 `ehcache-root` 版本为 `3.8.1` 则对应的 Ehcache 版本也为 `3.8.1`。
因此,在使用 Ehcache 时,我们需要引用正确版本的 `ehcache-root`,以确保 Ehcache 的依赖项和插件等与版本相匹配,避免出现不兼容的情况。
相关问题
ehcache-root与ehcache-root全部版本对应关系
ehcache-root 是 Ehcache 缓存框架的版本号,而 Ehcache 又有多个不同的版本,每个版本的 ehcache-root 号码也不同。以下是一些常见的 Ehcache 版本与对应的 ehcache-root:
- Ehcache 2.10.x:ehcache-root=2.10
- Ehcache 2.9.x:ehcache-root=2.9
- Ehcache 2.8.x:ehcache-root=2.8
- Ehcache 2.7.x:ehcache-root=2.7
- Ehcache 3.0.x:ehcache-root=3.0
- Ehcache 3.1.x:ehcache-root=3.1
- Ehcache 3.2.x:ehcache-root=3.2
请注意,这些版本号只是示例,如果您在使用 Ehcache 时需要获取确切的版本号,请查阅相应的文档或者 Maven 依赖信息。
2023-05-25 21:42:57.935 [main] INFO com.hzsun.easytong.web.mq.LogOutMqListener - ????? LogOutMqListener ???mqAddress?null 2023-05-25 21:42:57.936 [main] WARN com.hzsun.easytong.web.mq.LogOutMqListener - Mq??????????????? 2023-05-25 21:42:57.966 [main] INFO com.hzsun.easytong.web.mq.DataMqListener - ????? DataMqListener ???mqAddress?null 2023-05-25 21:42:57.966 [main] WARN com.hzsun.easytong.web.mq.DataMqListener - Mq??????????? 2023-05-25 21:42:58.035 [main] INFO org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-rsaKeyCache] 2023-05-25 21:42:58.044 [main] INFO org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-dataKeyCache] 2023-05-25 21:42:58.044 [main] INFO org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-dataKeyCache] 2023-05-25 21:42:58.642 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext initialized in 1839 ms 2023-05-25 21:42:58.689 [main] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'spring' 2023-05-25 21:43:00.116 [main] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 1427 ms
这是一个应用程序的启动日志,包含了一些信息和警告。首先,LogOutMqListener 和 DataMqListener 这两个消息监听器被初始化,但是它们的 mqAddress 属性为 null,可能会导致消息队列的问题;其次,使用了名为 [shiro-rsaKeyCache]、[shiro-dataKeyCache] 的 EHCache 缓存,这些缓存已经存在,不需要创建新的缓存;最后,Spring MVC 的 DispatcherServlet 初始化完成,耗时 1427ms。这些日志信息和警告信息可以帮助开发人员了解应用程序的启动过程和可能存在的问题。