javaweb报错学习
对下面这个图片内容进行tomcat run
报错信息如下:
No plugin found for prefix ‘tomcat7’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:developer_toolsapache-maven-3.6.1mvn_resp), alimaven (http://maven.aliyun.com/nexus/content/groups/public/)] -> [Help 1]
找到这个settings.xml文件,进行编辑,在pluginGroups标签下加入下面的配置
org.apache.tomcat.maven
例如:
注意是加在外面,不要加在注释里面了!
成功页面入如下:
在pom.xml文件中加入
解决方法三:apache.snapshots Apache Snapshots http://repository.apache.org/content/groups/snapshots-group/ false true
加入这个tomcat7配置
org.apache.tomcat.maven tomcat7-maven-plugin 2.2
希望能帮到你,祝你好运!
加油!



