简体   繁体   English

在tomcat中部署异常:无法找到操作isServiced

[英]Deploying in tomcat with exception: Cannot find operation isServiced

I installed Tomcat and Tomcat Manager on a remote server as per the instructions on this post . 我按照这篇文章的说明在远程服务器上安装了Tomcat和Tomcat Manager。

After adding it I successfully accessed the manager on http://IP_ADDRESS:8080/manager/html 添加后,我成功访问了http://IP_ADDRESS:8080/manager/html

Then I used the war file upload option to try to deploy the war file on it but it gives the following exception. 然后我使用war文件上传选项尝试在其上部署war文件,但它提供了以下异常。

FAIL - Deploy Upload Failed, Exception: Cannot find operation isServiced

Documentation on isServiced isServiced文档

Just looked this up. 刚看了这个。 Broken in Tomcat versions M19 and 8.5.13. 在Tomcat版本M19和8.5.13中断开。 Fixed in upcoming versions M20 and in 8.5.14. 修正了即将推出的M20和8.5.14版本。 http://bz.apache.org/bugzilla/show_bug.cgi?id=60949 . http://bz.apache.org/bugzilla/show_bug.cgi?id=60949 So you can roll back to M18 or 8.5.12 for now. 所以你现在可以回滚到M18或8.5.12。

Sachi,我有同样的问题,我正在使用Tomcat 9 M19,然后回到Tomcat 9 M18,一切都运行良好。

I was using Netbeans to develop my code when I landed with the same error. 当我登陆同样的错误时,我正在使用Netbeans来开发我的代码。 I was using Tomcat 9.0.0.M19. 我使用的是Tomcat 9.0.0.M19。 I followed the suggestion provided by Dan and Jon above and changed my server path in Netbeans to point to the previous version of Tomcat ie 9.0.0.M18 and things started working. 我按照上面Dan和Jon提供的建议,改变了我在Netbeans中的服务器路径,指向以前版本的Tomcat,即9.0.0.M18,事情就开始了。

You can download the previous version from http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/ 您可以从http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/下载以前的版本

For MAC I downloaded http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/apache-tomcat-9.0.0.M18.tar.gz 对于MAC,我下载了http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/apache-tomcat-9.0.0.M18.tar.gz

This should work. 这应该工作。

This error caused due to tomcat version incompatibility. 由于tomcat版本不兼容而导致此错误。 Please change tomcat version and your are good to go . 请更改tomcat版本,你很高兴。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM