The Apache Tomcat installation at this directory is version 8.5.6A Tomcat 8.0 installation is expect

Posted jiml

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The Apache Tomcat installation at this directory is version 8.5.6A Tomcat 8.0 installation is expect相关的知识,希望对你有一定的参考价值。

1.在eclipse中安装tomcat8.5时,报错:

The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation is expected.

2.解决办法: 
Windows中

①在Tomcat的安装目录中找到lib目录,再找到catalina.jar。使用压缩软件(WinRAR或是好压)打开它。 ②依次找到并双击打开orgapachecatalinautilServerInfo.properties 文件

 

server.info=Apache Tomcat/8.5.6 server.number=8.5.6.0 server.built=Oct 6 2016 20:15:31 UTC

改为:

#Apache Tomcat/8.5.6

server.info=Apache Tomcat/8.0.0

#8.5.6.0

server.number=8.0.0

server.built=Oct 6 2016 20:15:31 UTC

 

在Linux中改法:

cd [tomcat or tomee home(tomcat目录)]/lib mkdir catalina cd catalina/ unzip ../catalina.jar vim org/apache/catalina/util/ServerInfo.properties `把版本号改成如下形式:` server.info=Apache Tomcat/8.0.0 server.number=8.0.0 server.built=May 11 2016 21:49:07 UTC 接着把改好的ServerInfo.properties文件添加到catalina.jar中: jar uf ../catalina.jar org/apache/catalina/util/ServerInfo.properties cd .. rm -rf catalina

 

 

参考地址:

http://stackoverflow.com/a/37614406/6952713


以上是关于The Apache Tomcat installation at this directory is version 8.5.6A Tomcat 8.0 installation is expect的主要内容,如果未能解决你的问题,请参考以下文章

Runtime "Apache Tomcat v7.0" is invalid. The specified Tomcat installation directory does

ecplise An incompatible version [1.2.14] of the APR based Apache Tomcat Native library is installed,

环境初始化 Build and Install the Apache Thrift IDL Compiler Install the Platform Development Tools(代码片段

find out the installed and runing tomcat version in Linux

tomcat启动项目报错:The specified JRE installation does not exist

tomcat 异常:Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the sp