Vaadin Flow Demo运行不起来

我按照ReadeMe所说的执行maven的jetty:run运行不起来啊。。

控制台显示如下:
[INFO]
Scanning for projects…
[INFO]

[INFO]
---------------< com.vaadin.flow.demo:demo-contact-form >---------------
[INFO]
Building Contact Form application demo 1.3-SNAPSHOT
[INFO]
--------------------------------[ war ]

[INFO]

[INFO]

jetty-maven-plugin:9.4.11.v20180605:run (default-cli) > test-compile @ demo-contact-form >>>
[WARNING]
The POM for com.vaadin.flow.demo:demo-test-util:jar:1.3-SNAPSHOT is missing, no dependency information available
[WARNING]
The POM for com.vaadin.flow.demo:demo-utils:jar:1.3-SNAPSHOT is missing, no dependency information available
[INFO]


[INFO]
BUILD FAILURE
[INFO]

[INFO]
Total time: 2.442 s
[INFO]
Finished at: 2019-02-13T22:00:17+08:00
[INFO]

[ERROR]
Failed to execute goal on project demo-contact-form: Could not resolve dependencies for project com.vaadin.flow.demo:demo-contact-form:war:1.3-SNAPSHOT: The following artifacts could not be resolved: com.vaadin.flow.demo:demo-test-util:jar:1.3-SNAPSHOT, com.vaadin.flow.demo:demo-utils:jar:1.3-SNAPSHOT: Failure to find com.vaadin.flow.demo:demo-test-util:jar:1.3-SNAPSHOT in https://maven.vaadin.com/vaadin-prereleases was cached in the local repository, resolution will not be reattempted until the update interval of flow-component-base has elapsed or updates are forced → [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/DependencyResolutionException

我看到test的,我就在想我是不是可以用跳过TEST模式,还是不行啊

难道我必须使用TestBench才能让我运行吗??

看错误信息,感觉很可能是你没运行mvn install来下载dependency

1.先在flow-demo下运行 mvn clean install -Dmaven.test.skip=true(install的目的是下载所需的dependencies, -Dmaven.test.skip=true的目的是掠过测试)

2.在下面子文件夹下,比如 demo-addressbook-polymer 下运行 mvn jetty:run

刚试了一下是可以的,步骤1所需的时间有点儿长(7分多钟),因为很多dependencies要下载,

解决了,JDK版本用高了
Vaadin Flow Demo不能在JDK11下正常运行