Forum Discussion

curiousIna's avatar
9 months ago
Solved

Export of Mock Service as WAR File not compatible with latest Tomcat

When trying to run exported war on Tomcat 11, I'm getting: org.apache.catalina.core.StandardWrapperValve.invoke Allocate exception for servlet [SoapUIMockServlet]     java.lang.ClassNotFoundExcepti...
  • Humashankar's avatar
    6 months ago

    Hi curiousIna​ 

    SoapUI Open Source mock service WAR files are incompatible with Tomcat 10 and 11.

    • To deploy your mock services, you'll need to use Tomcat 9 or an earlier version.
    • Instead, you can run your mock services directly from SoapUI. Currently, SoapUI Open Source does not support generating Jakarta-compatible WAR files. 

    If you need to deploy on newer Tomcat versions, consider exploring alternative mocking solutions that support Jakarta EE 9+.

    Hope this helps - Happy to help further!!
    Thank you very much and have a great one!
    Warm regards