As you can see in:

https://issues.apache.org/jira/browse/KARAF-3283

it's a typo mistake (my bad, I'm very sorry about that :().

It's already fixed on Karaf 3.0.3-SNAPSHOT.

For 3.0.2 user, you can edit the MANIFEST of the bundle.core bundle to fix that.

Else, I deployed on my server a patched version of the bundle:

http://maven.nanthrax.net/org.apache.karaf.bundle.core-3.0.2.jar

You can download this one and replace the existing one in the Karaf system folder.

Regards
JB

On 10/14/2014 10:56 PM, maroshi wrote:
Using karaf 3.0.2 bundle:watch fails
See bellow
--------------------------------------------------------------------
karaf@root()> bundle:watch
mvn:org.maroshi.sample/sandbox-karaf/0.0.1-SNAPSHOT
Watched URLs/IDs:
mvn:org.maroshi.sample/sandbox-karaf/0.0.1-SNAPSHOT
karaf@root()> Exception in thread "Thread-16"
java.lang.NoClassDefFoundError: org/apache/karaf/util/maven/Parser
         at
org.apache.karaf.bundle.core.internal.BundleWatcherImpl.getBundleExternalLocation(BundleWatcherImpl.java:195)
         at
org.apache.karaf.bundle.core.internal.BundleWatcherImpl.updateBundleIfNecessary(BundleWatcherImpl.java:144)
         at
org.apache.karaf.bundle.core.internal.BundleWatcherImpl.run(BundleWatcherImpl.java:100)
         at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.apache.karaf.util.maven.Parser not found by org.apache.karaf.bundle.core
[31]
         at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
         at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
         at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
         ... 4 more




--------------------------------------------------------------------
reverting to karaf 3.0.1



--
View this message in context: 
http://karaf.922171.n3.nabble.com/karaf-3-0-2-bundle-watch-not-working-tp4035923.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to