Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议demo pom中添加spring-boot-maven-plugin插件 #3

Closed
xwsg opened this issue May 31, 2018 · 3 comments
Closed

建议demo pom中添加spring-boot-maven-plugin插件 #3

xwsg opened this issue May 31, 2018 · 3 comments

Comments

@xwsg
Copy link

xwsg commented May 31, 2018

有些 spring boot 新手java -jar 执行时会遇到 no main manifest attribute,错误

java -jar target/weixin-java-open-demo-1.0-SNAPSHOT.jar 

建议添加spring-boot-maven-plugin插件

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
@binarywang
Copy link
Member

如果运行没问题的话,建议提交个PR

@xwsg
Copy link
Author

xwsg commented May 31, 2018

@binarywang 已提PR #4

@binarywang
Copy link
Member

已合并

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants