JRE System library in Eclipse, web app libraries,referenced Libraries,user libraries

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.