Home > Java > javaTutorial > body text

Example introduction of web project jar package

零下一度
Release: 2017-06-29 09:54:59
Original
1652 people have browsed it

Web project jar package problem

The JRE System Library mainly stores the standard jar of J2SE and generally does not need to be adjusted.

Referenced Libraries store third-party jar packages, that is, jar packages imported by yourself. Configure it in Libraries in Java Build Path in project properties. I understand that

The purpose of importing and configuring the jar package here is to enable the web project to compile normally in the eclipse development environment without reporting errors. . If the web project uses eclipse to generate a war package,

will not export its jar package to the WEB-INF/lib folder.

The main function of Web App Libraries is to allow eclipse to export all jars in its directory or project references in the project to the WEB-INF/lib file when exporting the war package

Clip it down. The jar packages in Web App Libraries are configured in the Java EE Module Dependencies of the project properties in eclipse. If you check it, or add an external jar

package, it will be generated in the WEB-INF/lib folder. Of course, if you copy a jar directly into the WEB-INF/lib folder and refresh it, Web App Libraries

will also automatically add a reference to the jar. Simply put, the configuration of Java EE Module Dependencies is only for Web App Libraries.

The above is the detailed content of Example introduction of web project jar package. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!