随笔 - 478  文章 - 0  评论 - 31  阅读 - 57万 

(1)jar包放项目中(如下图)

(2)修改依赖配置

加入:

        <dependency>
            <groupId>cn.newhope</groupId>
            <artifactId>ServiceTemplate</artifactId>
            <version>1.1.12-SNAPSHOT</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/libs/ServiceTemplate-1.1.12-SNAPSHOT.jar</systemPath>
        </dependency>

加入:

复制代码
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <includeSystemScope>true</includeSystemScope>
                </configuration>
            </plugin>
        </plugins>
    </build>
复制代码

 

posted on   song.yan  阅读(492)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2019-02-21 分布式架构概述(一)
2019-02-21 问题: Packet for query is too large (1786 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
点击右上角即可分享
微信分享提示