MyEclipse添加tomcat出现 The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 installation is expected.

  • A+
所属分类:JAVA

打开tomcat安装目录:apache-tomcat-8.5.6\lib 找到catalina.jar

用解压缩工具打开 org/apache/catalina/util/ServerInfo.properties

将:

 

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

改为:

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



然后重新添加tomcat,完成!
weinxin
我的微信
这是我的微信扫一扫
avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: