Structr ui mvn验证

时间:2015-06-19 09:28:32

标签: maven structr

我尝试按照github页面上的说明安装Strctr。在我运行时快速入门指南的最后一步

mvn validate exec:exec

在我的终端上进行一些下载/安装后出现以下错误,并且我的localhost上没有运行structr:8082 / structr

INFO: AgentService started
Jun 19, 2015 11:12:51 AM org.structr.cron.CronService initialize
WARNING: No cron expression for task , ignoring.
java.lang.NoClassDefFoundError: Could not initialize class      org.structr.schema.compiler.NodeExtender
at org.structr.schema.SchemaService.reloadSchema(SchemaService.java:86)
at org.structr.schema.SchemaService.initialize(SchemaService.java:65)
at org.structr.core.Services.createService(Services.java:537)
at org.structr.core.Services.initialize(Services.java:305)
at org.structr.core.Services.initialize(Services.java:271)
at org.structr.core.Services.getInstance(Services.java:142)
at org.structr.Server.main(Server.java:36)
Jun 19, 2015 11:12:51 AM org.structr.core.Services createService
SEVERE: Vital service SchemaService failed to start: Could not    initialize class org.structr.schema.compiler.NodeExtender. Aborting
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.253s
[INFO] Finished at: Fri Jun 19 12:12:51 EEST 2015
[INFO] Final Memory: 15M/214M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-   plugin:1.4.0:exec (default-cli) on project structr-ui: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with    the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

我对编码/编程不太熟悉。有没有人对这个问题有任何想法/建议?感谢

1 个答案:

答案 0 :(得分:0)

您只需要验证Java版本JDK 1.7或最新版本,并安装maven。