SpringBoot整合servlet遇到的异常
2019-05-24 20:11
483 查看
问题描述
An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
解决办法
-
(https://archive.apache.org/dist/tomcat/tomcat-connectors/native/)
去这个网站下载相应的版本 -
解压后,在bin目录下找到tcnative-1.dll文件,我springboot环境为win10,64位系统,选择了x64文件下的dll文件。
3.3.将dll文件保存到jdk的bin目录中或者是jre的bin目录中,前提要求java的环境变量已经设置好(在高级设置-环境变量中设置查看)。
相关文章推荐
- Spring Boot 全局异常处理 与 Hibernate Validator校验框架整合
- SpringBoot启动异常Caused by: java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getServl
- dubbo 与spring boot 整合遇到的坑
- springboot整合spring-data-redis遇到的坑
- 学习记录: SpringBoot+Dubbo+zookeeper整合实现,以及遇到的坑
- 详解Spring boot + Mybatis整合及遇到的坑
- Spring和Mybatis整合过程中遇到的Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required的异常
- 记录问题:在springboot中servletlet调用service方法空指针异常问题
- spring boot 2.x 系列 —— spring boot 整合 servlet 3.0
- Spring boot 整合vue遇到的坑
- spring,springmvc,mybatis整合开发时报的异常:Servlet.init() for servlet springMvc threw exc
- Spring Boot整合模板引擎freemarker以及servlet
- Spring2.5.6整合hibernate3遇到的异常1
- Spring boot 整合Junit遇到的坑
- SpringBoot 整合SSM(六):关于异常和切面
- SpringBoot 整合 Shiro 过程中遇到奇怪的类型转换问题
- jpa和spring再整合的时候所遇到的一些问题,异常(终结版!!!)
- spring boot + dubbo开发遇到过的异常
- Spring2.5.6整合hibernate3遇到的异常2
- SpringBoot——整合 Servlet