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

Freeman Fang commented on KARAF-6083:
-------------------------------------

could you please run "mvn dependency:tree", this may reveal more

> karaf-maven-plugin:features-generate-descriptor fails with ClassCastException
> -----------------------------------------------------------------------------
>
>                 Key: KARAF-6083
>                 URL: https://issues.apache.org/jira/browse/KARAF-6083
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.2
>         Environment: Debian testing (up to date)
>            Reporter: Robin Vobruba
>            Priority: Major
>
> I am running "mvn karaf:features-generate-descriptor", and I get this error:
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.2.2:features-generate-descriptor
>  (default-cli) on project myProj: Unable to create features.xml file: 
> java.lang.ClassCastException: 
> org.eclipse.aether.internal.impl.collect.ObjectPool cannot be cast to 
> org.eclipse.aether.internal.impl.collect.ObjectPool -> [Help 1]{code}
> Am ready to supply more info if required.
> It looks llike it has two different versions of the class 
> `org.eclipse.aether.internal.impl.collect.ObjectPool`.. not sure how that 
> happens.



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

Reply via email to