Java - 异常 - no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups

2023-11-05

方法1、pom加

<plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
    <version>2.2</version>
</plugin>

有时无法启动。

方法2、maven的settings.xml文件加上


<pluginGroups>
<pluginGroup>org.apache.tomcat.maven</pluginGroup>
</pluginGroups>

成功运行。

https://blog.csdn.net/simon_cy/article/details/81810660

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Java - 异常 - no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups 的相关文章

随机推荐