其他分享
首页 > 其他分享> > 教一招, 使用Maven从开发到部署到服务器

教一招, 使用Maven从开发到部署到服务器

作者:互联网

Maven环境搭建

https://www.cnblogs.com/fnng/archive/2011/12/02/2272610.html

Maven编译

Maven compile

Maven部署到服务器

https://blog.csdn.net/xibei19921101/article/details/108384440

FAQ:

  1. 解决 Could not find artifact com.alibaba:fastjson:jar:1.2.68.noneautotype in central (https://repo.maven.apache.org/maven2)

通过登录网址后查询可知:
https://repo.maven.apache.org/maven2/

  1. 解决
<plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <mainClass>com.csrcb.AppStart</mainClass>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
</plugin>

标签:maven,boot,Maven,https,org,服务器,一招,com
来源: https://blog.csdn.net/weixin_42361393/article/details/122085168