http://hrycan.com/03/28/primefaces-lazy-loading-datatable-for-jsf2/“rel=“noreferer”http://hrycan.com/03/28/primefaces-lazy-loading-datatable-for-jsf2/。
它说,我只是说一句话。
mvn jetty:run
但是,我仍在面对这一错误。
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found
for prefix jetty in the current project and in the plugin groups [org.apache.m
aven.plugins, org.codehaus.mojo] available from the repositories [local (C:MyRepo), central (http://repo1.maven.org/maven2)]
at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.r
我在此使用了Maven 3。
任何想法?
ADD:
从这个环节来看,它已经到了om。
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.5.1.v20110908</version>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
</dependencies>
</plugin>