Recently, IDEA started the JavaWeb project and reported an error: Caused by: java.lang.ClassNotFoundException: com.xxx.xxx;
With the same code, my colleagues can start successfully, but my startup reports an error;
Obviously this is not a problem at the code logic level. There is a high probability that there is a problem with the configuration of the Web project;
Then, I found a great configuration article on the Internet: IDEA complete web project configuration - JavaClub full stack architect technical notes
Then refer to the article, configure the Project Structrue and Tomcat startup configuration of the Web project, and start again without error.