天天看点

Child module pom.xml of pom.xml does not exist @

具体错误:

[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Child module /home/uos/TeaVM/samples/benchmark/pom.xml of /home/uos/TeaVM/samples/pom.xml does not exist @       

看了一些说明,稀里糊涂。后来看到一个说法,加个<profiles><profile>包装:

<profiles>
    <profile>
      <modules>
        <module>benchmark</module>
      </modules>
 
    </profile>
  </profiles>      

继续阅读