org. springframework. context. ApplicationContextException: Unable to start web server; nested exceptio

Detailed error information:

General solution: refer to the following link: org springframework. context. ApplicationContextException: Unable to start web server; nested exceptio

But there are different situations. This time, I encountered this kind of error caused by the interdependence of different Maven multi modules. It can be solved by understanding the dependency between Maven multi modules.

It can be seen that Maven multi module must be well designed and the dependency relationship must be clear. Otherwise, various wonderful errors such as project startup error reporting and package error reporting will make you doubt your life.

But the soldiers came to block it, and the water came to drown the earth. After the baptism of mistakes in recent years, in the face of mistakes, I am no longer as irritable or timid as in the past, because I know that irritability and timidity can not solve problems. To face a mistake is to face it directly and solve it. I provide my general ideas: 1 Grasp key error messages

2. Infer the possible causes according to the error information

3. There should be detailed reproduction steps (page operation, IDE debug debugging)

4. Find the root cause of the error

5. Finally solve it

Sometimes we can't do all these five steps, because the project is very urgent and the task is heavy. We can directly grasp the first step, and then search the key error information in the search engine. Basically, we can get ready-made solutions.

Of course, this requires you to have the ability to distinguish right or wrong, otherwise, it is easy to be cheated.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>