This has nothing to do with ueditor. You will understand once you understand the general key process of tomcat startup:
Compile java code into class
Copy the compiled results to the web directory
Start web service
That is to say, the directory where tomcat runs the web service and your project are two directories. The uploaded pictures are in the web directory. Every time it is restarted, the web directory is cleared. So...
This has nothing to do with ueditor.
You will understand once you understand the general key process of tomcat startup:
Compile java code into class
Copy the compiled results to the web directory
Start web service
That is to say, the directory where tomcat runs the web service and your project are two directories. The uploaded pictures are in the web directory. Every time it is restarted, the web directory is cleared. So...