当前位置: 首页 > news >正文

使用mvn生成webapp失败,尚未找到原因

执行命令:

mvn archetype:create -DgroupId=com.jd.ads.test -DartifactId=testTools -DarchetypeArtifactId=maven-archetype-webapp

返回:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven
-archetype-plugin:2.3

 

Cause: Cannot assign configuration entry 'pomRemoteRepositories' to 'interface j
ava.util.List' from 'null', which is of type class java.lang.String
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Aug 03 10:33:01 CST 2015
[INFO] Final Memory: 23M/218M
[INFO] ------------------------------------------------------------------------

  

怎么导致的?

可能的原因:

exec.arguments was used before version 1.1 of the exec plugin, it did not support conversion of command line String to String[] array.

  1. If possible upgrade to 1.1 or later and use exec.args instead of exec.arguments.
  2. If you can't upgrade the plugin version, you can still use command line arguments with a profile and use multiple <argument> tags associated in the pom.xml

转载于:https://www.cnblogs.com/bukudekong/p/4698695.html

相关文章:

  • Repository updates is listed more than once in the configuration问题的解决方法
  • MATLAB函数flow
  • [Python3网络爬虫开发实战] 5.3-非关系型数据库存储
  • power shell测试wmi
  • 微信携手第三方再造新平台 - 公众号第三方平台介绍
  • 这次偶遇宁可不要,也要把秘诀送给你们
  • 信息安全领域内的风险损失价值估算
  • CodingGit专题
  • [Redis]Redis高级特性的配置及使用
  • spring 单机和集群配置mqzookeeperredis
  • Iphone CodeSign error: no provisioning profile at path 错
  • CSS 译文:理解CSS中的块级格式化上下文
  • 2018年高教社杯全国大学生数学建模竞赛B题解题思路
  • storm记录--1-- 实时计算系统
  • Android优雅地处理按钮重复点击
  • 07.Android之多媒体问题
  • Angular4 模板式表单用法以及验证
  • iOS | NSProxy
  • JavaScript DOM 10 - 滚动
  • JavaScript工作原理(五):深入了解WebSockets,HTTP/2和SSE,以及如何选择
  • java正则表式的使用
  • Netty 框架总结「ChannelHandler 及 EventLoop」
  • React Native移动开发实战-3-实现页面间的数据传递
  • 猫头鹰的深夜翻译:JDK9 NotNullOrElse方法
  • 前端性能优化--懒加载和预加载
  • 手写一个CommonJS打包工具(一)
  • 想使用 MongoDB ,你应该了解这8个方面!
  • 学习HTTP相关知识笔记
  • 中国人寿如何基于容器搭建金融PaaS云平台
  • Redis4.x新特性 -- 萌萌的MEMORY DOCTOR
  • 仓管云——企业云erp功能有哪些?
  • 国内开源镜像站点
  • ​​​​​​​sokit v1.3抓手机应用socket数据包: Socket是传输控制层协议,WebSocket是应用层协议。
  • ​secrets --- 生成管理密码的安全随机数​
  • $.ajax中的eval及dataType
  • $.proxy和$.extend
  • (八)五种元启发算法(DBO、LO、SWO、COA、LSO、KOA、GRO)求解无人机路径规划MATLAB
  • (笔记)Kotlin——Android封装ViewBinding之二 优化
  • (第8天)保姆级 PL/SQL Developer 安装与配置
  • (附源码)计算机毕业设计ssm电影分享网站
  • (太强大了) - Linux 性能监控、测试、优化工具
  • (转)创业家杂志:UCWEB天使第一步
  • .NET CF命令行调试器MDbg入门(二) 设备模拟器
  • .net MVC中使用angularJs刷新页面数据列表
  • .net redis定时_一场由fork引发的超时,让我们重新探讨了Redis的抖动问题
  • .NET Remoting Basic(10)-创建不同宿主的客户端与服务器端
  • .NET WebClient 类下载部分文件会错误?可能是解压缩的锅
  • .net企业级架构实战之7——Spring.net整合Asp.net mvc
  • .NET设计模式(8):适配器模式(Adapter Pattern)
  • .net图片验证码生成、点击刷新及验证输入是否正确
  • .pub是什么文件_Rust 模块和文件 - 「译」
  • @ModelAttribute 注解
  • [ Linux 长征路第二篇] 基本指令head,tail,date,cal,find,grep,zip,tar,bc,unname
  • [ 云计算 | AWS 实践 ] Java 如何重命名 Amazon S3 中的文件和文件夹
  • [2544]最短路 (两种算法)(HDU)