我刚刚在NetBeans 8.1(在Windows 10上)安装了Vaadin插件(版本1.2.1),并且它似乎正常工作,直到我创建一个新项目。我可以选择的选项列表中Vaadin模板但是当我点击了一个新的Vaadin Web应用程序我得到以下输出构建失败:在Netbeans 8.1中使用Vaadin
------------------------------------------------------------------------ Building Maven Stub Project (No POM) 1
------------------------------------------------------------------------
>>> maven-archetype-plugin:3.0.0:generate (default-cli) @ standalone-pom >>>
<<< maven-archetype-plugin:3.0.0:generate (default-cli) @ standalone-pom <<<
--- maven-archetype-plugin:3.0.0:generate (default-cli) @ standalone-pom --- Generating project in Batch mode Archetype repository not defined. Using the one from [com.vaadin:vaadin-archetype-application:7.7.7] found in catalog remote
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------ Total time: 5.096s Finished at: Wed Feb 15 20:31:32 GMT 2017 Final Memory: 14M/155M
------------------------------------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.0:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.vaadin:vaadin-archetype-application:7.7.7) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
我不是Maven的,所以我会的专家这里需要一些帮助。 Maven插件是最新的,Maven项目可以像平常一样创建,所以这里没有问题。 任何人都可以帮忙吗?
您可以尝试创建一个vaadin 7.7.6项目(我认为7.7.7还没有发布) –
我刚刚尝试使用7.7.6作为archetypeVersion参数重新运行,结果相同。 –
您是否打过*** Clean-and-Build ***按钮(锤子和扫帚图标)?在建立项目之后,你必须这样做,尽管这一步并不明显。 –