Skip to content

[BUG] Exported WAR file only works with Tomcat 9 and below #854

@calien666

Description

@calien666

First of all, thanks for this useful tool, which is saving us a lot of time.

After creating a mock for a customers project, I exported the result to a WAR file, as we need a mock server for Testing with a PHP application against a SOAP-API.

Regarding to your documentation, there is no limiting in the underlying tomcat version, so I used latest as docker image and mounted the generated WAR file.

This lead to the system being crashed. Tomcat 10 the same issue.

After downgrading the docker to tomcat 9, all worked as you are describing.

The encountered error is

 java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet

Which seems to be changed against another Servlet in later tomcat versions. I'm no Javva Developer by myself, so I don't know, if this is really related here, but I guess, as sample servlets worked out of the box and only the export made problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions