第一次创建Maven,报的这个错误求大神解决

[INFO] Scanning for projects...
[INFO] Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
[INFO] Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
[INFO] Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml (21 kB at 11 kB/s)
[INFO] Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml (9.7 kB at 5.0 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.846 s
[INFO] Finished at: 2019-07-16T18:16:05+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'tomact' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\repository), alimaven (http://maven.aliyun.com/nexus/content/groups/public/)] -> [Help 1]
[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/NoPluginFoundForPrefixException

4个回答

将你的本地库删除,仔细检查一下你的远程库地址,和配置文件中的地址,你的配置文件有问题了

将你工厂删了,重新下载,如果这个不可以的话就仔细检查你的配置文件和工作环境

一部分jar包已经下载,说明配置没有问题,有时候会用为网络延迟或者网络问题导致maven自动下载包不全然后出错。不知道你用的什么IDE,
可以吧pom里面jar备份后移除,然后重新添加,让maven重新下载jia包。或者直接删除项目,重新导入然后下载也行。

Sometimes_Ymc
Sometimes_Ymc 回复Pihane: 这个你百度下你用的工具 怎么用maven重新下载jar包,教程都是带图文的,很清楚。我这里说了你也不好操作。
大约一年之前 回复
Sometimes_Ymc
Sometimes_Ymc 回复Pihane: IDEA: https://www.cnblogs.com/zhaobao1830/p/8662743.html
大约一年之前 回复
Sometimes_Ymc
Sometimes_Ymc 回复Pihane: idea:https://www.cnblogs.com/EasonJim/p/8266724.html
大约一年之前 回复
Sometimes_Ymc
Sometimes_Ymc 回复Pihane: myeclipse :https://blog.csdn.net/a397525088/article/details/81075939
大约一年之前 回复
Pihane
Pihane 具体怎么操作求教
大约一年之前 回复

你写的tomact,而不是tomcat,报错信息里都提示了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐