Solve the problem that the component [standardengine[catalina]. cannot be started StandardHost[localhost].

Time:2022-7-17

preface

Recently, when setting up the environment, I found that this error will be reported basically for each project startup

Solve the problem that the component [standardengine[catalina]. cannot be started StandardHost[localhost].

After taking a look, it roughly means that a filter is specified, and then the class information of this filter is not found

It will not affect the normal operation of the project. After correcting the bug, I followed up today and finally solved it:

First find/usr/local/oneaccess/bim/tomcat/webapps/manager/WEB-INF/(please take your seat according to the number. This is my online address)

findweb.xmlfile

Edited by:

Search the prompt in the error messagefilterName ofcsrf

It is found that the filter information corresponding to CSRF has been annotated

Solve the problem that the component [standardengine[catalina]. cannot be started StandardHost[localhost].

Just let go of the content of the comment or delete both of these two paragraphs of information

Relevant information

web. XML file explanation