eclipse配置tomcat8.5报错The Apache Tomcat installation at this directory is version 8.5.4. A Tomcat 8.0

来源:互联网 发布:java singleton模式 编辑:程序博客网 时间:2024/06/06 06:43

今天在我的服务器上导了一个web工程,想在eclipse里面用 run on server来跑跑看,

结果新建server的时候出错了,我的tomcat版本是8.5,但是里面的选项是8.0,然后怎么添加路径都是:

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


最后就百度了一下,跟着下面这个教程来做

http://jingyan.baidu.com/article/48a42057f8dfafa92525044d.html

主要是进入lib文件下,把下面这个版本号给改成了8.0.0


server.info=Apache Tomcat/8.5.9

server.number=8.5.9.0

server.built=Dec 5 2016 20:18:12 UTC


然后就不报错了,但是我想run 的时候,就又出现了那个下载框,可能是在下补丁?

等了一会儿,就可以正常的执行了,噢耶。

0 0
原创粉丝点击