SpringBoot内置tomcat出现error:An incompatible version [1.1.32] of the APR based Apache Tomcat Native lib
SpringBoot内置tomcat出现error:An incompatible version [1.1.32] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]。解决办法
启动tomcat过程中,发现经常出现一个错误,
2018-03-20 13:32:01.022 ERROR 13152 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : An incompatible version [1.1.32] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
原因分析:
字面意思就是当前版本为1.1.32,需要重新下载1.2.14以上版本。分析SpringBoot的tomcat为内置环境,所以将新版本文件放在java安装目录下即可。
Apache把 httpd的底层库与上层应用逻辑分离,底层库单独发行,底层这就是Apache Portable Runtime Library,简称APR。
APR在跨平台方面,支持多种平台,主要有:
UNIX variants Windows Netware Mac OS X OS/2
APR把很多常用功能都封装好了,内容非常丰富,主要有:
Atomic operations
Dynamic Shared Object loading
File I/O
Locks (mutexes, condition variables, etc)
Memory management (high performance allocators)
Memory-mapped files
Multicast Sockets
Network I/O
Shared memory
Thread and Process management
Various data structures (tables, hashes, priority queues, etc)
解决办法:
1.下载对应版本文件,链接如下:
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
2.解压后,在bin目录下找到tcnative-1.dll文件,我springboot环境为win10,64位系统,选择了x64文件下的dll文件。
3.将dll文件保存到jdk的bin目录中或者是jre的bin目录中,前提要求java的环境变量已经设置好(在高级设置-环境变量中设置查看)。
4.重新启动SpringBoot程序,即可。
2018-03-20 13:53:44.909 INFO 1728 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : Loaded APR based Apache Tomcat Native library [1.2.14] using APR version [1.6.2].
启动信息可以看出,版本信息为1.6.2,错误消息没了。
来源:https://blog.csdn.net/zs520ct/article/details/80497281
SpringBoot内置tomcat出现error:An incompatible version [1.1.32] of the APR based Apache Tomcat Native lib相关推荐
- 解决tomcat 启动 An incompatible version [1.2.14] of the APR based Apache Tomcat Native library 错误
tomcat 启动时报错如下: 解决方案: 访问:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ 选择一个自己需要的版本 ...
- Eclipse运行tomcat出现错误“An incompatible version [1.1.33] of the APR based。。。 ”问题的解决
转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/80009634 本文出自[我是干勾鱼的博客] 使用Eclipse运行tomcat时 ...
- tomcat启动出现The APR based Apache Tomcat Native library错误
今天在idea中直接启动springboot项目时,出现以下错误: The APR based Apache Tomcat Native library which allows optimal pe ...
- The APR based Apache Tomcat Native library
Tomcat启动的时候出现下面这样的提示: 2015-11-06 14:24:12 org.apache.catalina.core.AprLifecycleListener init 信息: The ...
- 解决Tomcat启动时出现的The APR based Apache Tomcat Native library异常
现在用的tomcat6.0,不知道大家注意没有,在启动的时候,那个启动窗口最上面出现这样一条信息: 信息: The APR based Apache Tomcat Native library whi ...
- Tomcat 启动报错The APR based Apache Tomcat Native l...
2019独角兽企业重金招聘Python工程师标准>>> 转:Tomcat 启动报错The APR based Apache Tomcat Native l... 启动tomcat时 ...
- Myeclipse 启动报错: 信息: The APR based Apache Tomcat Native library which allows optimal perfo...
朋友们有时候在用Myeclipse5.0以上版本的时候,在启动Tomcat服务后,在控制台上面会出现这样的信息: 信息: The APR based Apache Tomcat Native lib ...
- java运行Tomcat提示:The APR based Apache Tomcat Native library which allows optimal performance in produc
在Tomcat上运行javaweb程序时,启动Tomcat时log信息中提示如下内容: 九月 18, 2017 4:34:51 下午 org.apache.catalina.core.AprLifec ...
- 1.2.4 报错:The APR based Apache Tomcat Native library which allows optimal performance in produc
The APR based Apache Tomcat Native library which allows optimal performance in production environmen ...
最新文章
- 【ZJOI 2008】树的统计 Count
- springboot原生mysql写法_【Rainbond最佳实践】Spring Boot框架配置MySQL
- Vue计算属性和监听属性
- 员外陪你读论文:DeepWalk: Online learning of Social Representations
- html点击按钮弹出悬浮窗_网课助手1.0 支持悬浮窗搜题等多功能
- kafka分布式_带有Kafka和ZeroMQ的分布式类星体演员
- 【Faster RCNN detectron2】detectron2实现Faster RCNN目标检测
- 包的引入(base版本)
- 关于SharePoint V3网站老弹出“此网站需要运行以下载项:'Microsoft Corporation'中的'name.dll'......”的3种解决办法...
- 深入理解iPhone委托模式兼谈iPhone生命周期
- Flex中实现Tree绑定数据后自动展开节点
- Python-文件的管理
- python api框架 hook_Windows API Hooking in Python
- 华三防火墙web端口_HCL模拟器防火墙WEB方式登录配置
- js里分割字符串,数组拼接
- C语言函数指针和返回指针值的函数
- Hi3516A开发--视频接口
- kaggle 2018 data science bowl____一次失败的 kaggle 项目参与经历及反思总结
- OpenPortal认证系统 界面展示
- Java的支持率让小伙伴们都惊呆了
热门文章
- QT的QBuffer类的使用
- vnc远程登录linux黑屏,linux VNC安装好后登录黑屏 鼠标显示黑色大叉的解决方法
- 「Ubuntu: Conda」Conda相关命令
- shell编程--基本格式,基本语法,运算符,expr,(()),$[]
- Spring AOP详解(http://sishuok.com/forum/posts/list/281.html)
- Python dataframe列拆分多行与统计
- mysql update 多个字段_MySql-笔记
- py-faster-rcnn用自己的数据训练模型
- Sublime Text 3添加右键
- 请看:我是如何在SQLServer中处理每天四亿三千万记录的