Error creating bean with name ‘httpPutFormContentFilter‘

created at 08-16-2021 views: 17

Problem Description

After the problem occurred, I checked many things on Baidu for the first time, but none of them were dealt with. Then I thought of the following questions:

  1. @SpringBootApplication is not added to the startup class
  2. Introduce a dependency error, or repeatedly introduce a dependency. Should introduce spring-boot-starter-web but introduce spring-web
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>

</dependency>

solution

First check your pom file carefully to see if you have added a web dependency, and delete the spring-web dependency. Generally these two problems.

Perfect solution.

created at:08-16-2021
edited at: 08-16-2021: