关于Could not read pom.xml和No plugin found for prefix 'tomcate7' in the current project

当时出现的错误:

 有大神知道我这个错误怎么解决吗
[ERROR] No plugin found for prefix 'tomcate7' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\mavencangku\repository), aliyun (http://maven.aliyun.com/nexus/content/groups/public/)] -> [Help 1]
发生的原因及解决办法:
这是我当时手动启动Maven项目是报的错误,原因是自己粗心,把启动命令clean tomcat7:run写成了clean tomcate7:run导致项目启动时报错,启动不起来。
解决办法就是把之前的命令删掉从新写一个正确的新命令!
posted @ 2017-09-05 19:16  一道光  阅读(1101)  评论(0编辑  收藏  举报