[ https://issues.apache.org/jira/browse/KARAF-6083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robin Vobruba updated KARAF-6083: --------------------------------- Description: 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`. I don't know that happens. was: 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. > 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 > Assignee: Jean-Baptiste Onofré > Priority: Major > Fix For: 4.2.3 > > Attachments: output-of-mvn-dependency-tree.txt > > > 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`. I don't know that > happens. -- This message was sent by Atlassian JIRA (v7.6.3#76005)