Springboot 创建helloworld 打包报错
半山腰的人 2020-05-04 11:39:54 [INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Invalid packaging for parent POM org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE, must be "pom" but is "jar" @ org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.at:springboot-01-helloworld:1.0-SNAPSHOT (G:\ideacode\springboot01helloworld\pom.xml) has 1 error
[ERROR] Invalid packaging for parent POM org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE, must be "pom" but is "jar" @ org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
在网上找到<packaging>pom</packaging>