今天leader修改了pom文件的配置,更新代码后突然发现项目无法启动,具体的报错内容是:
[ERROR] No plugin found for prefix ‘jetty‘ in the current project and in the plu gin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repo sitories [local (C:\Documents and Settings\reymont.li\.m2\repository), central ( http://repo.maven.apache.org/maven2)] -> [Help 1]
大概意思就是缺少jetty的插件,然后加上下面的这段话就可以正常启动了
<plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.10</version> </plugin> </plugins>
时间: 2024-12-20 17:32:09