jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCRVLT-330) NoClassFoundError(org/apache/commons/io/FileUtils) in analyse-classes goal
Date Wed, 06 Feb 2019 10:08:00 GMT

    [ https://issues.apache.org/jira/browse/JCRVLT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761631#comment-16761631
] 

Robert Munteanu commented on JCRVLT-330:
----------------------------------------

I'm not familiar with the FileVault tooling, but I guess a first step would be for you to
attach a simple project which reproduces the failure.

> NoClassFoundError(org/apache/commons/io/FileUtils) in analyse-classes goal
> --------------------------------------------------------------------------
>
>                 Key: JCRVLT-330
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-330
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.0.1, package-maven-plugin-1.0.3
>            Reporter: Rakesh Kumar
>            Priority: Critical
>
> Hi,
> When trying to create a package using 
> *org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1* 
> *or*
> *org.apache.jackrabbit:filevault-package-maven-plugin:1.0.3***
>  
> we get a NoClassDefFoundError - *org/apache/commons/io/FileUtils*
>  
> Here is the trace.
>  
> [*INFO*] *BUILD FAILURE*
> [*INFO*] *------------------------------------------------------------------------*
> [*INFO*] Total time:  20.156 s
> [*INFO*] Finished at: 2019-01-25T11:14:17-05:00
> [*INFO*] *------------------------------------------------------------------------*
> [*ERROR*] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1:analyze-classes
*(default-analyze-classes)* on project joule-mvp-ui-joule:*Execution default-analyze-classes
of goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1:analyze-classes failed:
A required class was missing while executing org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1:analyze-classes:
org/apache/commons/io/FileUtils*
> [*ERROR*] *-----------------------------------------------------*
> [*ERROR*] *realm =    extension>org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1*
> [*ERROR*] *strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy*
> [*ERROR*] *urls[0] = file:/Users/mhenry/.m2/repository/org/apache/jackrabbit/filevault-package-maven-plugin/1.0.1/filevault-package-maven-plugin-1.0.1.jar*
> [*ERROR*] *urls[1] = file:/Users/mhenry/.m2/repository/org/apache/jackrabbit/vault/org.apache.jackrabbit.vault/3.1.42/org.apache.jackrabbit.vault-3.1.42.jar*
> [*ERROR*] *urls[2] = file:/Users/mhenry/.m2/repository/javax/jcr/jcr/2.0/jcr-2.0.jar*
> [*ERROR*] *urls[3] = file:/Users/mhenry/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar*
> [*ERROR*] *urls[4] = file:/Users/mhenry/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar*
> [*ERROR*] *urls[5] = file:/Users/mhenry/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar*
> [*ERROR*] *urls[6] = file:/Users/mhenry/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar*
> [*ERROR*] *urls[7] = file:/Users/mhenry/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar*
> [*ERROR*] *urls[8] = file:/Users/mhenry/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar*
> [*ERROR*] *urls[9] = file:/Users/mhenry/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar*
> [*ERROR*] *urls[10] = file:/Users/mhenry/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar*
> [*ERROR*] *urls[11] = file:/Users/mhenry/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar*
> [*ERROR*] *urls[12] = file:/Users/mhenry/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.5/maven-plugin-annotations-3.5.jar*
> [*ERROR*] *urls[13] = file:/Users/mhenry/.m2/repository/org/apache/maven/maven-archiver/3.0.0/maven-archiver-3.0.0.jar*
> [*ERROR*] *urls[14] = file:/Users/mhenry/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar*
> [*ERROR*] *urls[15] = file:/Users/mhenry/.m2/repository/org/codehaus/mojo/animal-sniffer-maven-plugin/1.14/animal-sniffer-maven-plugin-1.14.jar*
> [*ERROR*] *urls[16] = file:/Users/mhenry/.m2/repository/org/codehaus/mojo/animal-sniffer/1.14/animal-sniffer-1.14.jar*
> [*ERROR*] *urls[17] = file:/Users/mhenry/.m2/repository/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar*
> [*ERROR*] *urls[18] = file:/Users/mhenry/.m2/repository/org/codehaus/mojo/java-boot-classpath-detector/1.14/java-boot-classpath-detector-1.14.jar*
> [*ERROR*] *urls[19] = file:/Users/mhenry/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar*
> [*ERROR*] *urls[20] = file:/Users/mhenry/.m2/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar*
> [*ERROR*] *urls[21] = file:/Users/mhenry/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar*
> [*ERROR*] *urls[22] = file:/Users/mhenry/.m2/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar*
> [*ERROR*] *urls[23] = file:/Users/mhenry/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar*
> [*ERROR*] *urls[24] = file:/Users/mhenry/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar*
> [*ERROR*] *urls[25] = file:/Users/mhenry/.m2/repository/com/google/code/findbugs/findbugs/3.0.1/findbugs-3.0.1.jar*
> [*ERROR*] *urls[26] = file:/Users/mhenry/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar*
> [*ERROR*] *urls[27] = file:/Users/mhenry/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar*
> [*ERROR*] *urls[28] = file:/Users/mhenry/.m2/repository/com/google/code/findbugs/bcel-findbugs/6.0/bcel-findbugs-6.0.jar*
> [*ERROR*] *urls[29] = file:/Users/mhenry/.m2/repository/com/google/code/findbugs/jFormatString/2.0.1/jFormatString-2.0.1.jar*
> [*ERROR*] *urls[30] = file:/Users/mhenry/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar*
> [*ERROR*] *urls[31] = file:/Users/mhenry/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar*
> [*ERROR*] *urls[32] = file:/Users/mhenry/.m2/repository/org/ow2/asm/asm-debug-all/5.0.2/asm-debug-all-5.0.2.jar*
> [*ERROR*] *urls[33] = file:/Users/mhenry/.m2/repository/org/ow2/asm/asm-commons/5.0.2/asm-commons-5.0.2.jar*
> [*ERROR*] *urls[34] = file:/Users/mhenry/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar*
> [*ERROR*] *urls[35] = file:/Users/mhenry/.m2/repository/com/apple/AppleJavaExtensions/1.4/AppleJavaExtensions-1.4.jar*
> [*ERROR*] *urls[36] = file:/Users/mhenry/.m2/repository/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar*
> [*ERROR*] *urls[37] = file:/Users/mhenry/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar*
> [*ERROR*] *urls[38] = file:/Users/mhenry/.m2/repository/biz/aQute/bnd/biz.aQute.bndlib/3.3.0/biz.aQute.bndlib-3.3.0.jar*
> [*ERROR*] *urls[39] = file:/Users/mhenry/.m2/repository/io/github/lukehutch/fast-classpath-scanner/2.0.21/fast-classpath-scanner-2.0.21.jar*
> [*ERROR*] *urls[40] = file:/Users/mhenry/.m2/repository/org/jsoup/jsoup/1.10.3/jsoup-1.10.3.jar*
> [*ERROR*] *Number of foreign imports: 1*
> [*ERROR*] *import: Entry[import  from realm ClassRealm[maven.api, parent: null]]*
> [*ERROR*]
> [*ERROR*] *-----------------------------------------------------*
> [*ERROR*] : org.apache.commons.io.FileUtils
> [*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 :joule-mvp-ui-joule*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message