Jean-Baptiste Onofré created KARAF-3283:
-------------------------------------------

             Summary: karaf.util missing as private package for bundle watcher
                 Key: KARAF-3283
                 URL: https://issues.apache.org/jira/browse/KARAF-3283
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 3.0.2
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.0.0, 3.0.3


BundleWatcher doesn't work due to:

{code}
Exception in thread "Thread-32" 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:357)
        ... 4 more
{code}

karaf.util (which is not a bundle) has to be as private package of the bundle 
bundle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to