spring-boot-maven-plugin:[unknown-version]
时间:2018-07-31 17:05:12
收藏:0
阅读:1631
编译SpringBoot当前项目时,problem was encountered while building the effective model for org.springframework.boot:spring-boot-maven-plugin:[unknown-version],双击问题跳到了其他项目的POM文件中。
错误提示:
problem was encountered while building the effective model for org.springframework.boot:spring-boot-maven-plugin:[unknown-version]
问题分析:
加载的是多个项目,有各自的POM文件,POM文件头都有各自的Maven版本声明,
解决方法:
关闭当前工程中其他无关项目,右击其他项目-Close Project,重新Update Project。
错误提示:
problem was encountered while building the effective model for org.springframework.boot:spring-boot-maven-plugin:[unknown-version]
问题分析:
加载的是多个项目,有各自的POM文件,POM文件头都有各自的Maven版本声明,
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br/>xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
,因而起了冲突。解决方法:
关闭当前工程中其他无关项目,右击其他项目-Close Project,重新Update Project。
评论(0)