zoukankan      html  css  js  c++  java
  • [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] 'packaging' with value 'war' is invalid. Aggregator projects require 'pom' as packaging. @ line 9, column 16

    [WARNING] 
    [WARNING] Some problems were encountered while building the effective settings
    [WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...
    		     http://localhost:8081/nexus/content/groups/public/
    	    <u... @177:8)  @ C:softapache-maven-3.5.2confsettings.xml, line 177, column 8
    [WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...
    		     http://localhost:8081/nexus/content/groups/public/
    	    <u... @177:8)  @ C:softapache-maven-3.5.2confsettings.xml, line 177, column 8
    [WARNING] 
    [INFO] Scanning for projects...
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [ERROR] 'packaging' with value 'war' is invalid. Aggregator projects require 'pom' as packaging. @ line 9, column 16
     @ 
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]   
    [ERROR]   The project com.guigu.emp:emp2:1.0-SNAPSHOT (E:S3Springday89_�ۺϹ���01andMaven�߼�emp2pom.xml) has 1 error
    [ERROR]     'packaging' with value 'war' is invalid. Aggregator projects require 'pom' as packaging. @ line 9, column 16
    [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
    Disconnected from the target VM, address: '127.0.0.1:55112', transport: 'socket'
    
    Process finished with exit code 1

    这个是因为你项目是一个webapp工程,

     必须是一个pom

     最后就成功了

  • 相关阅读:
    How to do Deep Learning on Graphs with Graph Convolutional Networks
    《编程珠玑》读书笔记
    NFFM的原理与代码
    场感知因子分解机器的原理与代码
    数学公式中的变体字母
    因子分解机原理与代码
    LightGBM GPU python版本安装
    Pytorch:使用GPU训练
    [FJOI2020]世纪大逃亡 题解
    [统一省选2020]冰火战士 题解
  • 原文地址:https://www.cnblogs.com/KcBlog/p/14181561.html
Copyright © 2011-2022 走看看