我按照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才能让我运行吗??