我正在尝试使用eclipse的maven插件从vaadin 7.0.0打包示例应用程序,但每次运行目标"package"时,构建失败并出现以下错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project essai: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile failed: A required class was missing while executing org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile: org/codehaus/plexus/compiler/util/scan/InclusionScanException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-compiler-plugin:2.3.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Benoit/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
[ERROR] urls[1] = file:/C:/Users/Benoit/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
Run Code Online (Sandbox Code Playgroud)
mvn包-X的结果在这里:http://pastebin.com/jk5uW8Ut
我的pom.xml如下:http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 com.mycompany essai war 0.0.1-SNAPSHOT Vaadin Web Application
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<vaadin.version>7.0.0.rc2</vaadin.version>
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
</properties>
<repositories>
<repository>
<id>vaadin-addons</id> …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用docker和Vagrant部署一个简单的httpd服务器,以解决虚拟机共享文件夹的文件权限问题(我正在使用rsync与vagrant,并运行Windows作为主机)
当我运行时vagrant up,VM启动(我可以使用VBox GUI确认)但是然后vagrant警告不能与VM建立SSH连接并且永远不会加载容器.
这是它的输出vagrant up:
Bringing machine 'default' up with 'docker' provider...
==> default: Docker host is required. One will be created if necessary...
default: Vagrant will now create or start a local VM to act as the Docker
default: host. You'll see the output of the `vagrant up` for this VM below.
default:
default: Checking if box 'mitchellh/boot2docker' is up to date...
default: VirtualBox VM is already running.
The Docker provider was able to …Run Code Online (Sandbox Code Playgroud) 我正在努力QLayout使用样式表从Qt中的对象设置内容边距为零.我可以删除它们QLayout::setContentsMargins(0, 0, 0, 0)但我更喜欢从样式表中删除它们.
我正在使用Apache Flink开发一个项目,我正在使用junit来测试我的运算符.
但是我遇到了一个问题:因为并行性,flink会用"随机"行顺序写出它的输出csv文件,因此我不能轻易断言输出文件等于Junit的预期输出文件.
性能不是问题,因为我们讨论的是小文件(<100行)并且仅用于测试.
有一个简单的解决方案吗?
我有一个配对RDD (K, V),密钥包含a time和a ID.我想获得一个表格的配对RDD,(K, Iterable<V>)其中键由id分组,迭代按时间排序.
我目前正在使用sortByKey().groupByKey(),我的测试似乎证明它有效,但我正在读它可能并非总是如此,正如本问题所讨论的那样有不同的答案(Spark中的groupByKey是否保留原始顺序?).
它是否正确?
谢谢!
apache-flink ×1
apache-spark ×1
boot2docker ×1
csv ×1
docker ×1
eclipse ×1
java ×1
junit ×1
margins ×1
maven ×1
qlayout ×1
qt ×1
sorting ×1
ssh ×1
stylesheet ×1
testing ×1
vaadin ×1
vagrant ×1
vagrantfile ×1