Intellij IDEA Error handling ing application listener of class org. springframework. web. context. ContextLoaderListener,
I was going to have a deep understanding of the principles of the javax. validation Package. I found a great demo code on the Internet. However, when Intellij IDEA is started, Error logging ing application listener of class org. springframework. web. context. ContextLoaderListener is always reported.
After searching for a long time, I finally found a solution: Artifacts is not correctly configured.
Ctrl + Shift + Alt + s open the project settings window, select Artifacts, delete the original war package, and add it again. (The premise is that you have configured Facets)
For details, see:
IDEA knowledge:
Facets ([partition f into sits]) and Artifacts (['partition rt into f into kts]) are different:
Facets indicates the features of this module, such as Web, Spring, and Hibernate;
Artifact is a concept in maven. It indicates how a module is packaged, such as war exploded, war, jar, and ear;
A module can be deployed to the application server with Artifacts!
There are many type options When configuring Artifacts for the project. What does exploed mean:
Explode can be understood as expansion without compression. That is, the directory structure before the output objects such as war and jar are not compressed. We recommend that you use this mode during development so that the file effect can be immediately displayed after modification.
By default, the IDEA Modules and Artifacts output directory has been set up, do not need to change, when the war package will be automatically produced in the WEB-INF directory classes directory, then, put the compiled file in.
Track: http://blog.csdn.net/likaihon/article/details/44174553