我用maven编译geoserver源码,出现了下面的问题,望牛人帮我解答。
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.9:
descriptor (default-descriptor) on project config: The API of the mojo scanner i
s not compatible with this plugin version. Please check the plugin dependencies
configured in the POM and ensure the versions match. org.apache.maven.tools.plug
in.scanner.MojoScanner.populatePluginDescriptor(Lorg/apache/maven/tools/plugin/P
luginToolsRequest;)V -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :config
貌似是说插件和工程中pom文件中的版本不兼容。困扰我好几天了。希望各位给予知道,不甚感激!!
maven版本:3.0.4
geoserver版本:2.1.3
把maven的版本换成2.2.1就可以了
可以运行mvn -e,看看错误详情先
你好 我现在也遇到了这样的问题 我的Maven 用的3.2.3
最后,怎么解决了???新手,项目打开的时候,有错误啊,跪求qq:1482037582