2014-04-09 84 views
0

嗨我目前正在使用maven構建vaadin項目,但獲取的錯誤率低於此值。無法在eclipse中使用maven創建vaadin項目

無法從原型創建項目[com.vaadin:vaadin-原型應用:最新 - >]

堆棧跟蹤

org.apache.maven.archetype.exception.ArchetypeNotConfigured: Archetype com.vaadin:vaadin-archetype-application:7.1.13 is not configured 
    Property theme is missing. 
    at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.generateArchetype(DefaultFilesetArchetypeGenerator.java:142) 
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.processFileSetArchetype(DefaultArchetypeGenerator.java:213) 
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:128) 
    at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:286) 
    at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:69) 
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:761) 
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.call(ProjectConfigurationManager.java:710) 
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.call(ProjectConfigurationManager.java:1) 
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:161) 
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:137) 
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:89) 
    at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1305) 
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:708) 
    at org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizard$5.doCreateMavenProjects(MavenProjectWizard.java:244) 
    at org.eclipse.m2e.core.ui.internal.wizards.AbstactCreateMavenProjectJob$1.doCreateMavenProjects(AbstactCreateMavenProjectJob.java:46) 
    at org.eclipse.m2e.core.ui.internal.wizards.AbstractCreateMavenProjectsOperation.run(AbstractCreateMavenProjectsOperation.java:74) 
    at org.eclipse.m2e.core.ui.internal.wizards.AbstactCreateMavenProjectJob.runInWorkspace(AbstactCreateMavenProjectJob.java:50) 
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) 
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) 

請幫助這個我完全新手

回答

-1

也許嘗試從命令行創建項目。爲此請按照本教程:https://vaadin.com/wiki/-/wiki/Main/Using+Vaadin+with+Maven

mvn archetype:generate \ 
-DarchetypeGroupId=com.vaadin \ 
-DarchetypeArtifactId=vaadin-archetype-clean \ 
-DarchetypeVersion=LATEST \ 
-DgroupId=your.company \ 
-DartifactId=project-name \ 
-Dversion=1.0 \ 
-Dpackaging=war 
+0

我得到了我的問題實際上是從月食同時創造vaadin項目解決了我們需要添加主題爲變量....現在它工作正常 – user3516273

相關問題