What's the BOOT-INF and META-INF directories?

244boy :

When I open a jar package, there shows the BOOT-INF and META-INF folders, what's the function of them?

's th

Istiaque Hossain :

The META-INF folder is the home for the MANIFEST.MF file. This file contains meta data about the contents of the JAR. For example, there is an entry called Main-Class that specifies the name of the Java class with the static main() for executable JAR files.

for more details

BOOT-INF : Spring Boot application load form Boot-INF folder . Application classes should be placed in a nested BOOT-INF/classes directory. Dependencies should be placed in a nested BOOT-INF/lib directory.

more about spring boot packing

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=144432&siteId=1