could not find goal 'create' in plugin的问题解决
2017-04-17 09:38
639 查看
今天尝试使用了Maven,参考了http://www.cnblogs.com/fnng/archive/2011/12/02/2272610.html这个地址的教程。
在进行到创建项目的时候,输入了提供的命令mvn archetype:create -DgroupId=com.chongshi.test -DartifactId=hello -DpackageName=com.chongshi.test -Dversion=1.0
然后创建报了错误,错误提示是
[ERROR] Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archetype-plugin:3.0.1 among available goals crawl, create-from-roject, generate, help,
integration-test, jar, update-local-catalog -> [Help 1]
找了百度了关键字“ Could not find goal 'create' in plugin ”并没有相关的解答- -
花了时间找了很多地方,最终发现了答案:https://www.oschina.net/question/2665568_2157300
问题的关键是!!!create改成generate,3.0.5之后create已废弃!!!
宛如日了狗了,发现自己看的是11年的教程,的确。。。时间跨度有点大了!!!
于是只要将命令改成
mvn archetype:generate
-DgroupId=com.chongshi.test -DartifactId=hello -DpackageName=com.chongshi.test -Dversion=1.0
就完全OK了=
=浪费了这么长时间结果却是这样子。。。。希望同样错误的人能及时通过这个文章找到答案吧
在进行到创建项目的时候,输入了提供的命令mvn archetype:create -DgroupId=com.chongshi.test -DartifactId=hello -DpackageName=com.chongshi.test -Dversion=1.0
然后创建报了错误,错误提示是
[ERROR] Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archetype-plugin:3.0.1 among available goals crawl, create-from-roject, generate, help,
integration-test, jar, update-local-catalog -> [Help 1]
找了百度了关键字“ Could not find goal 'create' in plugin ”并没有相关的解答- -
花了时间找了很多地方,最终发现了答案:https://www.oschina.net/question/2665568_2157300
问题的关键是!!!create改成generate,3.0.5之后create已废弃!!!
宛如日了狗了,发现自己看的是11年的教程,的确。。。时间跨度有点大了!!!
于是只要将命令改成
mvn archetype:generate
-DgroupId=com.chongshi.test -DartifactId=hello -DpackageName=com.chongshi.test -Dversion=1.0
就完全OK了=
=浪费了这么长时间结果却是这样子。。。。希望同样错误的人能及时通过这个文章找到答案吧
相关文章推荐
- Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archetype-plugin:3.0.0 among
- Maven 命令行创建项目时 Could not find goal ‘create’ in plugin org.apache.maven.plugins:...
- maven使用命令创建项目失败[ERROR] Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archety
- Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archetype-plugin:3.0.0 among
- Could not find goal 'create' in plugin org.apache.maven.p plugin:3.0.1 among available goals crawl
- 问题解决:it could not find or load the Qt platform plugin "windows"
- 打不开Anaconda spyder:could not find or load the QT platform plugin "window in"简单解决方法
- 打不开Anaconda Navigator:could not find or load the QT platform plugin "window in"简单解决方法
- QT运行exe时出现“could not find or load the QT platform plugin windows”问题的解决办法
- 问题解决:it could not find or load the Qt platform plugin "windows"
- PANIC: Could not find *.ini file in $ANDROID_AVD_HOME (AVD启动问题)解决办法
- maven安装jar包到本地仓库报的一个错误:Could not find goal '' in plugin org.apache.maven.plugins
- 解决eclipse cdt “could not find symbol *** in index” 的问题
- JMeter命令行执行及问题解决 Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class!
- 解决问题:Anaconda not opening: couldn't find or load Qt platform plugin "Windows in "" #1270
- 如何解决 X-code5.0中的iOS7.0SDK运行程序时,出现的以下问题:“Could not find a storyboard named 'Main' in bundle NSBundle”
- Could not find make command: mingw32-make.exe in the build environment问题详细解答
- could not find a getter for ... in class ... 异常的解决
- Struts2的配置中:Could not find action or result 问题的解决方法
- 解决could not create the java virtual machine问题