手动import时报错:
Multiple markers at this line
- Syntax error on token "ExceptionHand", ; expected after this token
- The import org.springframework.web.bind.annotation.ExceptionHandler conflicts with a type defined in the
same file
- The import org.springframework.web.bind.annotation.ExceptionHand cannot be resolved
解决了,出现重名方法。重命名即可