Error details:
Key information is as follows:
Through keyword search, a solution is found because the netty of springboot conflicts with the netty related jar of elastic search
Just add the following code to the startup class (note that this code should be placed before springapplication.run (application. Class, args), otherwise it will not take effect):