Ask Your Question
0

openflowplugin - mvn build issue - parent: ClassRealm[maven.api, parent: null]

asked 2016-02-02 23:51:20 -0700

saisujithreddy gravatar image

updated 2016-02-02 23:52:22 -0700

Did any one come across this error ?

I did git clone openflowplugin and ran mvn clean install -DskipTests on openflowplugin/model project on master branch

plugin/model/target/generated-sources/spi/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] model-parent ...................................... FAILURE [ 58.443 s]

[INFO] model-flow-base ................................... SKIPPED

[INFO] model-flow-service ................................ SKIPPED

[INFO] model-flow-statistics ............................. SKIPPED

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:29 min [INFO] Finished at: 2016-02-02T23:10:13-08:00 [INFO] Final Memory: 31M/2028M [INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources (default) on project model-parent: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources failed: A required class was missing while executing org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources: java/util/function/Consumer

[ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/sai/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/1.0.0-SNAPSHOT/yang-maven-plugin-1.0.0-SNAPSHOT.jar [ERROR] urls[1] = file:/home/sai/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.9.0-SNAPSHOT/maven-sal-api-gen-plugin-0.9.0-SNAPSHOT.jar [ERROR] urls[2] = file:/home/sai/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-api/0.9.0-SNAPSHOT/mdsal-binding-generator-api-0.9.0-SNAPSHOT.jar [ERROR] urls[3] = file:/home/sai/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-impl/0.9.0-SNAPSHOT/mdsal-binding-generator-impl-0.9.0-SNAPSHOT.jar [ERROR] urls[4] = file:/home/sai/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar [ERROR] urls[5] = file:/home/sai/.m2/repository/org/opendaylight/yangtools/yang-data-impl/1.0.0-SNAPSHOT/yang-data-impl-1.0.0-SNAPSHOT.jar [ERROR] urls[6] = file:/home/sai/.m2/repository/org/opendaylight/yangtools/yang-data-util/1.0.0-SNAPSHOT/yang-data-util-1.0.0-SNAPSHOT.jar [ERROR] urls[7] = file:/home/sai/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-util/0.9.0-SNAPSHOT/mdsal-binding-generator-util-0.9.0-SNAPSHOT.jar [ERROR] urls[8] = file:/home/sai/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar [ERROR] urls[9] = file:/home/sai/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib/2.8.4/org.eclipse.xtend.lib-2.8.4.jar [ERROR] urls[10] = file:/home/sai/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib.macro/2.8.4/org.eclipse.xtend.lib.macro-2.8.4.jar [ERROR] urls[11] = file:/home/sai/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib/2.8.4/org.eclipse.xtext.xbase.lib-2.8.4.jar [ERROR] urls[12] = file:/home/sai/.m2/repository/org/opendaylight/mdsal/mdsal-binding-java-api-generator/0.9.0-SNAPSHOT/mdsal-binding-java-api-generator-0.9.0-SNAPSHOT.jar [ERROR] urls[13] = file:/home/sai/.m2/repository/org/opendaylight/yangtools/yang-data-api/1.0.0-SNAPSHOT/yang-data-api-1.0.0-SNAPSHOT.jar [ERROR] urls[14] = file:/home/sai/.m2/repository/org/opendaylight/mdsal/yang-binding/0.9.0-SNAPSHOT/yang-binding-0.9.0-SNAPSHOT.jar [ERROR] urls[15] = file:/home/sai/.m2/repository/org/opendaylight/yangtools/concepts/1.0.0-SNAPSHOT/concepts-1.0.0-SNAPSHOT.jar [ERROR] urls[16] = file:/home/sai/.m2/repository/org/opendaylight/yangtools/util/1.0.0-SNAPSHOT/util-1.0.0-SNAPSHOT.jar [ERROR] urls[17] = file:/home/sai/.m2/repository ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-02-12 14:27:25 -0700

jamoluhrsen gravatar image

Are you building with java 8? I think the current master (Boron) will only work if you use java 8

edit flag offensive delete publish link more

Comments

Thanks jamoluhrsen. I am using java 7. It is said that master is required to work on java 8 but it may/may not work on java 7.

saisujithreddy ( 2016-02-12 14:53:01 -0700 )edit

I tried to find the email, but I'm remembering another case where moving to 8 worked. see if you can try.

jamoluhrsen ( 2016-02-12 15:01:50 -0700 )edit
0

answered 2016-02-12 14:18:08 -0700

saisujithreddy gravatar image

Seems there are some issues with the master branch. when i do checkout stable/beryllium branch everything worked.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-02-02 23:51:20 -0700

Seen: 228 times

Last updated: Feb 12 '16