I deleted the folder from ~/.m2 and tried to rerun. I got the same error but it did not repull the folder. Should I do a build the pom again so it is re downloaded.
On 2015-06-25 09:30, Charlie Mordant wrote: > Hi, > > Can you try to wipe your local m2 repo (~/.m2)? > Or remove the org/apache/felix/org.apache.felix.metatype folder > > Regards, > > 2015-06-25 14:40 GMT+02:00 <[email protected]>: > >> Hello all, >> >> I was trying to use the rc for karaf 4.0.0 When starting I get the following >> error. >> >> Jun 25, 2015 8:26:28 AM org.apache.karaf.main.Main main >> SEVERE: Could not launch framework >> java.lang.RuntimeException: Error installing bundle listed in >> startup.properties with url: >> mvn:org.apache.felix/org.apache.felix.metatype/1.0.12 and startlevel: 5 >> at org.apache.karaf.main.Main.installAndStartBundles(Main.java:450) >> at org.apache.karaf.main.Main.launch(Main.java:303) >> at org.apache.karaf.main.Main.main(Main.java:175) >> Caused by: java.lang.RuntimeException: Could not resolve >> mvn:org.apache.felix/org.apache.felix.metatype/1.0.12 >> at >> org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59) >> at org.apache.karaf.main.Main.installAndStartBundles(Main.java:442) >> ... 2 more >> >> I was wondering if there was something wrong with my mvn config or my start >> order. >> >> org.ops4j.pax.url.mvn.repositories= >> http://repo1.maven.org/maven2@id=central [1], >> http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release >> [2], >> http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external >> [3], >> http://zodiac.springsource.com/maven/bundles/release@id=gemini [4], >> http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases >> [5], >> https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases >> [6], >> https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases >> [7], >> http://artifactory.orbistechnologies.com/artifactory/repo@id=swlocal@snapshots >> [8], >> http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases >> [9] >> >> enterprise=mvn:org.apache.karaf.features/enterprise/LATEST/xml/features >> cellar=mvn:org.apache.karaf.cellar/apache-karaf-cellar/LATEST/xml/features >> cave=mvn:org.apache.karaf.cave/apache-karaf-cave/LATEST/xml/features >> camel=mvn:org.apache.camel.karaf/apache-camel/LATEST/xml/features >> camel-extras=mvn:org.apache-extras.camel-extra.karaf/camel-extra/LATEST/xml/features >> cxf=mvn:org.apache.cxf.karaf/apache-cxf/3.0.5/xml/features >> cxf-dosgi=mvn:org.apache.cxf.dosgi/cxf-dosgi/LATEST/xml/features >> activemq=mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features >> jclouds=mvn:org.apache.jclouds.karaf/jclouds-karaf/LATEST/xml/features >> openejb=mvn:org.apache.openejb/openejb-feature/LATEST/xml/features >> wicket=mvn:org.ops4j.pax.wicket/features/LATEST/xml/features >> hawtio=mvn:io.hawt/hawtio-karaf/LATEST/xml/features >> pax-cdi=mvn:org.ops4j.pax.cdi/pax-cdi-features/LATEST/xml/features >> pax-jdbc=mvn:org.ops4j.pax.jdbc/pax-jdbc-features/LATEST/xml/features >> ecf=http://download.eclipse.org/rt/ecf/latest/site.p2/karaf-features.xml >> [10] >> >> karaf.systemBundlesStartLevel=50 >> >> Thanks for any help that can be given, >> >> David Daniel > > -- > > Charlie Mordant > > Full OSGI/EE stack made with Karaf: > https://github.com/OsgiliathEnterprise/net.osgiliath.parent [11] Links: ------ [1] http://repo1.maven.org/maven2@id=central [2] http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release [3] http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external [4] http://zodiac.springsource.com/maven/bundles/release@id=gemini [5] http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases [6] https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases [7] https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases [8] http://artifactory.orbistechnologies.com/artifactory/repo@id=swlocal@snapshots [9] http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases [10] http://download.eclipse.org/rt/ecf/latest/site.p2/karaf-features.xml [11] https://github.com/OsgiliathEnterprise/net.osgiliath.parent
