Re: hc2vpp compile error

Michal Cmarada



The first issue you are experiencing may happen because of network errors. Sometimes nexus is not responding and therefore downloads fail.

The second issue is caused by java 11. Honeycomb and HC2VPP projects have not yet been migrated to java 11. This is actually planed for the next development cycle and should be available in 19.01 release. We currently support java 8, so you can switch to Java8 for now. Once migration is finished you will be able to use also java 11 for build.





Michal Cmarada

Engineer - Software







Cisco Systems, Inc.





Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here for Company Registration Information.



From: hc2vpp@... <hc2vpp@...> On Behalf Of tianye
Sent: Wednesday, October 24, 2018 8:14 AM
To: hc2vpp@...
Subject: [hc2vpp] hc2vpp compile error


Hello Everyone:


I used my Ubuntu 18.04 VM to compile the hc2vpp 1.18.07, the command I ran just like following web page(Manual build):


git clone

git checkout stable/1807

add a ~/.m2/settings.xml file like the “manual build” web page said

./hc2vpp/jvpp/   à OK, SUCCESS

cd hc2vpp/

mvn clean install -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip=true -Djacoco.skip à Failed


Issue1: Many download failed from, but it’s look like a none-blocking issue since I found the same issue at your Jenkins build log.

downloading from codehaus-snapshots:

[[1;33mWARNING[m] Could not transfer metadata io.fd.honeycomb.common:common-scripts:1.19.01-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots ( Name or service not known



…several success project…

[[1;34mINFO[m] hc2vpp-common-aggregator ........................... [1;32mSUCCESS[m [  0.279 s]

[[1;34mINFO[m] naming-context-api ................................. [1;31mFAILURE[m [  5.423 s]

[[1;34mINFO[m] vpp-impl-parent .................................... [1;33mSKIPPED[m

…all of the following project has been skipped…

[[1;31mERROR[m] Failed to execute goal

[32morg.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile[m [1m(default-compile)[m on project [36mnaming-context-api[m:

[1;31mFatal error compiling[m: CompilerException: InvocationTargetException: java.nio.file.NotDirectoryException: /usr/lib/jvm/java-11-openjdk-amd64/lib/modules -> [1m[Help 1][m


Is there anyone met this kind of issue and can you tell me how to fix it?

电子邮件(包括任何的附件)为本公司保密文件。本文件仅仅可为以上指定的收件人或公司使用,如果阁下非电子邮件所指定之收件人,那么阁下对该邮件部分或全部的泄漏、阅览、复印、变更、散布或对邮件内容的使用都是被严格禁止的。如果阁下接收了该错误传送的电子邮件,敬请阁下通过回复该邮件的方式立即通知寄件人,同时删除你所接收到的文本。 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Join to automatically receive all group messages.