I had to add Spring EBR also, to get the build working. However, now karaf
doesn't startup

In the generated features.xml, I have this:
<bundle start-level="200">wrap:mvn:cglib/cglib/3.0</bundle>
<bundle start-level="200">wrap:mvn:org.ow2.asm/asm/4.0</bundle>

And I have added this as a boot feature, but I get the error:

SEVERE: Could not launch framework
java.lang.RuntimeException: Error installing bundle listed in
startup.properties with url: wrap:mvn:cglib/cglib/3.0 and startlevel: 200
        at org.apache.karaf.main.Main.installAndStartBundles(Main.java:390)
        at org.apache.karaf.main.Main.launch(Main.java:250)
        at org.apache.karaf.main.Main.main(Main.java:171)
Caused by: java.lang.RuntimeException: Could not resolve
wrap:mvn:cglib/cglib/3.0
        at
org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
        at org.apache.karaf.main.Main.installAndStartBundles(Main.java:383)
        ... 2 more

I can see that the cglib is present under $KRF_HOME/system/cglib/cglib/3.0

But looks like its not able to wrap and install at the same time.

Am I doing something wrong?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-3-Standalone-Distribution-tp4034233p4034270.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to