springboot packaged on the jar package

The applications packaged into jar manner conducive to the deployment of the program

Add plug-in 1.pom

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

2. Select PackageHere Insert Picture Description

3. Run Packager (video below and fill out the above code is not the same time)

https://www.bilibili.com/video/av65257474

BOOT-INF \ jar under lib 4. Check package packaged into the jar package

Here Insert Picture Description

Published 43 original articles · won praise 13 · views 4896

Guess you like

Origin blog.csdn.net/qq_30693057/article/details/100528258