When developing in the Eclipse IDE, user libraries was used for the management of the aspect jar, but some problems were encountered, for which the JRE system library, the web App libraries,referenced libraries , user libraries on the Internet to find some relevant information, and finally solved the reference user librariess the occurrence of the problems found in the class, summarized as follows:
1. The JRE Sysrtem Library is the standard jar for J2SE and is generally not adjusted
2. Referenced Libraries is to store its own imported third-party jar package, is for the web development environment in the normal compilation, no error, but when the war is generated will not export jar package to the Web/lib folder.
3. Web App Libraries exports all jar packages (including reference jar packages) under the project to the Web-inf/lib folder when the war package is exported, and in the Web_inf/lib file, directly copies a jar in, Refres automatically adds the web App Libraries.
4.user Libraries is the easy management of the jar when build path, where you can create your own jar libraries, which appears as our own name in the project. However, this entry will cause problems and need to be in Deployment assembly[JEE Module Dependencies 3. 5 Previous Version] option to configure the following. Right-click on the project, Properties->deploymet assembly->add-java Build Path entries-Select your user libraries name->ok
Summarize:
This SSH learning to introduce more jars, using the user libraries classification, without the use of Deployment assembly configuration, Org.springframework.web.context.ContextLoaderListener error, set after compilation passed.
JRE System library in Eclipse, web app libraries,referenced Libraries,user libraries