springboot 聚合项目,出现maven install时,找不到包的解决方案


如上图所示:

聚合项目打包,因为引入包找不到,而导致依赖此包的jar包无法install

如:程序包xxxx找不到,符号:类xxxx 找不到符合

 

解决方案:

找到依赖包,加入以下代码:

 <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <classifier>execute</classifier>
                </configuration>
            </plugin>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM