Skip to content

Instantly share code, notes, and snippets.

@ryandgoulding
Created November 6, 2015 18:13
Show Gist options
  • Save ryandgoulding/cb404fb8797d4785d25e to your computer and use it in GitHub Desktop.
Save ryandgoulding/cb404fb8797d4785d25e to your computer and use it in GitHub Desktop.
[ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:0.8.0-SNAPSHOT:generate-sources (default) on project aaa-authn-mdsal-api: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:0.8.0-SNAPSHOT:generate-sources failed: An API incompatibility was encountered while executing org.opendaylight.yangtools:yang-maven-plugin:0.8.0-SNAPSHOT:generate-sources: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.opendaylight.yangtools:yang-maven-plugin:0.8.0-SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/0.8.0-SNAPSHOT/yang-maven-plugin-0.8.0-SNAPSHOT.jar
[ERROR] urls[1] = file:/home/ryan/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.8.0-SNAPSHOT/maven-sal-api-gen-plugin-0.8.0-SNAPSHOT.jar
[ERROR] urls[2] = file:/home/ryan/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-api/0.8.0-SNAPSHOT/mdsal-binding-generator-api-0.8.0-SNAPSHOT.jar
[ERROR] urls[3] = file:/home/ryan/.m2/repository/org/opendaylight/mdsal/yang-binding/0.8.0-SNAPSHOT/yang-binding-0.8.0-SNAPSHOT.jar
[ERROR] urls[4] = file:/home/ryan/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-impl/0.8.0-SNAPSHOT/mdsal-binding-generator-impl-0.8.0-SNAPSHOT.jar
[ERROR] urls[5] = file:/home/ryan/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
[ERROR] urls[6] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-data-impl/0.8.0-SNAPSHOT/yang-data-impl-0.8.0-SNAPSHOT.jar
[ERROR] urls[7] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-data-util/0.8.0-SNAPSHOT/yang-data-util-0.8.0-SNAPSHOT.jar
[ERROR] urls[8] = file:/home/ryan/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-util/0.8.0-SNAPSHOT/mdsal-binding-generator-util-0.8.0-SNAPSHOT.jar
[ERROR] urls[9] = file:/home/ryan/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
[ERROR] urls[10] = file:/home/ryan/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib/2.7.3/org.eclipse.xtend.lib-2.7.3.jar
[ERROR] urls[11] = file:/home/ryan/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib.macro/2.8.4/org.eclipse.xtend.lib.macro-2.8.4.jar
[ERROR] urls[12] = file:/home/ryan/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib/2.8.4/org.eclipse.xtext.xbase.lib-2.8.4.jar
[ERROR] urls[13] = file:/home/ryan/.m2/repository/org/opendaylight/mdsal/mdsal-binding-java-api-generator/0.8.0-SNAPSHOT/mdsal-binding-java-api-generator-0.8.0-SNAPSHOT.jar
[ERROR] urls[14] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-data-api/0.8.0-SNAPSHOT/yang-data-api-0.8.0-SNAPSHOT.jar
[ERROR] urls[15] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/util/0.8.0-SNAPSHOT/util-0.8.0-SNAPSHOT.jar
[ERROR] urls[16] = file:/home/ryan/.m2/repository/com/github/romix/java-concurrent-hash-trie-map/0.2.23/java-concurrent-hash-trie-map-0.2.23.jar
[ERROR] urls[17] = file:/home/ryan/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[18] = file:/home/ryan/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[19] = file:/home/ryan/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[20] = file:/home/ryan/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
[ERROR] urls[21] = file:/home/ryan/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[22] = file:/home/ryan/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar
[ERROR] urls[23] = file:/home/ryan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar
[ERROR] urls[24] = file:/home/ryan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
[ERROR] urls[25] = file:/home/ryan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[26] = file:/home/ryan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[27] = file:/home/ryan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[28] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-parser-impl/0.8.0-SNAPSHOT/yang-parser-impl-0.8.0-SNAPSHOT.jar
[ERROR] urls[29] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-common/0.8.0-SNAPSHOT/yang-common-0.8.0-SNAPSHOT.jar
[ERROR] urls[30] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/object-cache-api/0.8.0-SNAPSHOT/object-cache-api-0.8.0-SNAPSHOT.jar
[ERROR] urls[31] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-model-api/0.8.0-SNAPSHOT/yang-model-api-0.8.0-SNAPSHOT.jar
[ERROR] urls[32] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-parser-api/0.8.0-SNAPSHOT/yang-parser-api-0.8.0-SNAPSHOT.jar
[ERROR] urls[33] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-model-util/0.8.0-SNAPSHOT/yang-model-util-0.8.0-SNAPSHOT.jar
[ERROR] urls[34] = file:/home/ryan/.m2/repository/org/antlr/antlr4-runtime/4.5.1/antlr4-runtime-4.5.1.jar
[ERROR] urls[35] = file:/home/ryan/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar
[ERROR] urls[36] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/concepts/0.8.0-SNAPSHOT/concepts-0.8.0-SNAPSHOT.jar
[ERROR] urls[37] = file:/home/ryan/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar
[ERROR] urls[38] = file:/home/ryan/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin-spi/0.8.0-SNAPSHOT/yang-maven-plugin-spi-0.8.0-SNAPSHOT.jar
[ERROR] urls[39] = file:/home/ryan/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[40] = file:/home/ryan/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>org.opendaylight.aaa:aaa-authn-api:0.3.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not deserialize ATN with version 2 (expected 3).
[ERROR] -> [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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :aaa-authn-mdsal-api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment