Home > Back-end >  Tomcat could not be started because XML garbled filter, a great god, please help
Tomcat could not be started because XML garbled filter, a great god, please help

Time:11-11

Add the following code in the web. XML
 

EncodingFilter


Org. Springframework. Web. Filter. CharacterEncodingFilter


Encoding
Utf-8 & lt;/param - value>



EncodingFilter
/* & lt;/url - pattern>


Start tomcat times wrong:
Java. Lang. ClassNotFoundException: org. Springframework. Web. Filter. CharacterEncodingFilter

O great god answer

CodePudding user response:

As smoke less spring jar package,

CodePudding user response:

The code processing do not have what problem

CodePudding user response:

Configuration no problem, should be your maven dependence has a problem, to refresh the maven dependencies
  • Related